[EMAIL PROTECTED] wrote: > hi there > > basically...I have instantiated long term running thread/s. > > in the main thread, i want to pass a subroutine (code ref) and its parameters > into a threads::shared variable, then execute it in a separate thread running > in a while loop. > > I want to do this, because having a group of a couple instantiated long term > running threads, before processing starts, would be less expensive, then > instantiated many short term threads for each call...which would be expensive > and affect performance due to the lag in thread creation. > > calls and subroutine's/parameters will vary, so injecting the code into a > running thread is what i would like. > > I hope you all now can understand. Thanks in advance for your help.
We're getting closer. Now create a proper test snippet that uses threads and we'll see if we can help where it fails. -- ,-/- __ _ _ $Bill Luebkert Mailto:[EMAIL PROTECTED] (_/ / ) // // DBE Collectibles Mailto:[EMAIL PROTECTED] / ) /--< o // // Castle of Medieval Myth & Magic http://www.todbe.com/ -/-' /___/_<_</_</_ http://dbecoll.tripod.com/ (My Perl/Lakers stuff) _______________________________________________ Perl-Win32-Users mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
