Shmuel Fomberg wrote:
I read the document of Thread::Apartment, and it's one impressive module.
However, I didn't quite understood what the 'urgent' methods are, and how
they are different from regular ones?
Urgent methods queue their method call requests to the head of the
target object's
On Tue, 08 Jan 2008, Shmuel Fomberg wrote:
I am currently playing with C#. It have a nice feature that one thread can
call a function in other thread's context. (using the Invoke command, or the
asynchronic BeginInvoke command)
This is useful especially in a GUI program, where one thread is
Shmuel Fomberg wrote:
Hi All.
I am currently playing with C#. It have a nice feature that one thread can
call a function in other thread's context. (using the Invoke command, or the
asynchronic BeginInvoke command)
This is useful especially in a GUI program, where one thread is handling the
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