Re: Can Filehandles Be Shared Between Threads?

[email protected] (Per Andreas Buer)
Newsgroups perl.ithreads
Organization -
Message-ID <[email protected]>
Steve,

[email protected] (Steve Schein) writes:

> I'm having good success sharing variables across threads with the
> exception of filehandles. 

Try looking at File::FDpasser. You should be able to use a
filedescriptor in several processes/threads.

-- 
There are only 10 different kinds of people in the world, 
those who understand binary, and those who don't.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.