develooper Front page | perl.perl5.porters | Postings from July 2002

Re: Thread::Use - use a module inside a thread only

Thread Previous | Thread Next
Elizabeth Mattijsen
July 30, 2002 01:35
Re: Thread::Use - use a module inside a thread only
Message ID:
At 09:36 AM 7/30/02 +0200, Rafael Garcia-Suarez wrote:
> > Looks like stashes are not shared between threads. How
> > is this related to saving memory ?

 > However, Thread::Use can also be handy for modules that do not survive
 > the cloning process, such as PerlIO::gzip and many DBI::DBD modules...

Actually, the thing about PerlIO::gzip isn't true.  You can't create 
threads with a PerlIO::gzip layer open currently.  Even if you don't need a 
PerlIO::gzip layer in the thread.  There is no problem if you only want a 
PerlIO::gzip layer inside a thread only.  So that is a different problem 


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About