So aside from that you don't see any obvious issues with that example?
This looks suspect to me: $outputQueue->enqueue(undef); If the intent of the undef is to terminate the output sub loop, pushing it before the output has been queued ain't gonna work.
And this: $workerQueue->engueue($_) foreach @computer; tells me you haven't run the code you posted; so ...
Anyone got any experience of this phone's predecessor?
In reply to Re^3: Output Queue from Multiple Threads
by BrowserUk
in thread Output Queue from Multiple Threads
by bigbot
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |