![]() |
|
There's more than one way to do things | |
PerlMonks |
Re: Things you need to know before programming Perl ithreadsby John M. Dlugosz (Monsignor) |
on Sep 02, 2003 at 19:15 UTC ( #288392=note: print w/replies, xml ) | Need Help?? |
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
In Section
Meditations
|
|