Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: any module with streaming pipe implementation for use with threads

by Rohan_Bhatia (Initiate)
on Dec 20, 2011 at 21:31 UTC ( [id://944481]=note: print w/replies, xml ) Need Help??


in reply to Re: any module with streaming pipe implementation for use with threads
in thread any module with streaming pipe implementation for use with threads

Thanks nick, for the suggestions. I started to implement my class the way you have described :), but it fell short when multiple get/put calls are made at the same time. Also I need the calls to be blocking/nb.

I tested the code over 5M iterations and all the data is popd out, I believe the threads make a copy of pipe1, but the store_array & lock vars are part of a shared location.

  • Comment on Re^2: any module with streaming pipe implementation for use with threads

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (6)
As of 2024-04-23 22:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found