> 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.

Reply via email to