Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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?
[Discipulus]: good morning folks!
choroba mornings back
[Corion]: Hi choroba!
[Corion]: And Discipulus!
Corion arrived back from London. Always nice to meet people again, even if it's just once per year.
[Corion]: Also, dk contributed some cool stuff to App::ShaderToy, like menu settings and real fullscreen, eliminating many of my #TO-DO comments ;)

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2016-12-06 08:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (101 votes). Check out past polls.