Sorry I never replied, I had computer trouble and was sick at the same time.
Ur sure the first thread is doing work? Put in some code in each thread to
print out a status message like "thread 3 idle" and "thread 5 got payload,
working...". Also check the number of queue items with $q->pending. U
hi all,
I am trying to implement a thread pool using Thread::Queue. I created a pool of
10 threads. The problem is only one thread is being used, and all jobs are queud
up in a line behind the first. Each job is a subroutine call. How can I create
this to be multi-tasking? ..eg jobs being execute