Boss:
I would split that boss into two threads. A dispatcher listening on <STDIN> handing of work to workers and a publisher de-queueing the results from workers and publishing them to <STDOUT>
Cheers,
R.
In reply to Re: Threading with a twist
by Random_Walk
in thread Threading with a twist
by scorpion7
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |