⭐ in reply to Running subroutines asynchronously
Here is some Thread::Queue based code that demonstrates another way to resolve the parallel-ping problem.
You can use it to model generic parallel processing subroutines where you have one work queue, and multiple workers. The results generated by the workers is fed back into a single queue, that is read by the main process.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Answer: Running subroutines asynchronously
by blazar (Canon) on Oct 03, 2005 at 08:52 UTC |
In Section
Seekers of Perl Wisdom