Re: Invoking method in other thread context
[email protected] ("Jerry D. Hedden") Tue, 8 Jan 2008 16:13:43 -0500
| Newsgroups | perl.ithreads |
|---|---|
| Message-ID | <[email protected]> |
> one thread can call a function in other thread's context > > So how do we do it in Perl? > Sending signal and relaying the command somehow? If you upgrade to the lastest versions of 'threads' and threads::shared from CPAN, you can send signals to threads. You can also uses queues to send data using Thread::Queue.