Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Implementing Custom ThreadPool

by zwon (Abbot)
on May 20, 2012 at 10:36 UTC ( [id://971477]=note: print w/replies, xml ) Need Help??


in reply to Implementing Custom ThreadPool

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://971477]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2024-04-24 03:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found