Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^3: Threads From Hell #1: How To Share A Hash

by BrowserUk (Patriarch)
on May 13, 2015 at 21:23 UTC ( [id://1126607]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Threads From Hell #1: How To Share A Hash
in thread Threads From Hell #1: How To Share A Hash [SOLVED]

And the code i figured out looks very similar to my forking example and doesn't perform so bad.

So... you were trying to restrict the number of concurrent threads to 4? Yes. It works for that purpose.

(I originally thought is was some attempt to prevent concurrent access to the shared hash; ie. a substitute for lock. My mistake.)


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". I'm with torvalds on this
In the absence of evidence, opinion is indistinguishable from prejudice. Agile (and TDD) debunked
  • Comment on Re^3: Threads From Hell #1: How To Share A Hash

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1126607]
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 18:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found