Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 chanting in the Monastery: (4)
As of 2024-04-14 11:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found