Syntactic Confectionery Delight | |
PerlMonks |
Re: Implementing Custom ThreadPoolby zwon (Abbot) |
on May 20, 2012 at 10:36 UTC ( [id://971477]=note: print w/replies, xml ) | Need Help?? |
Thread::Pool module, but since that has the implementation for older thread model What made you think so? It seems passes tests on modern perls without any problems. every thread is getting its own copy of $pool That is because $pool is not shared, you use threads::shared but aren't really using it. Have also a look onto Thread::Queue.
In Section
Seekers of Perl Wisdom
|
|