Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Things you need to know before programming Perl ithreads

by John M. Dlugosz (Monsignor)
on Sep 02, 2003 at 19:15 UTC ( #288392=note: print w/replies, xml ) Need Help??


in reply to Things you need to know before programming Perl ithreads

Hmm, so is there a way to efficiently have a couple threads work on the same large data buffer? Simplest case is producer/consumer flow: if they pipe data from one to another. The Thread::Conveyor looks like its for discrete lumps, not a stream of bytes. I'm afraid a filehandle based on a scaler to use as a pipe will be hidious in this situation!

—John

  • Comment on Re: Things you need to know before programming Perl ithreads

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://288392]
help
Chatterbox?
[choroba]: sorry, typo. Works for me with 15 which is the default
[choroba]: Timestamps should work correctly now
[Tux]: I need 17 on both my boxes

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2017-09-19 20:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (228 votes). Check out past polls.

    Notices?