in reply to Implementing Custom ThreadPool

I find it very puzzling that you reference Thread::Queue in your comments:

# make sure there undefs are enqueued to the workQueue so that child + threads can # complete the process rather than being blocked on Thread::Queue's +dequeue

but seem to have forgotten to include it in your code. Especially as it would exactly address the apparent problem with your "experiment".

Consistently reinforcing your "I'm very new to PERL threading.." by upcasing Perl is a really cheesy touch.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

The start of some sanity?