develooper Front page | perl.ithreads | Postings from January 2008

Invoking method in other thread context

Thread Next
From:
Shmuel Fomberg
Date:
January 8, 2008 12:50
Subject:
Invoking method in other thread context
Message ID:
000e01c85238$1cacec00$6501a8c0@semuel7
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
GUI, and worker threads need to post status. 

So how do we do it in Perl?
Sending signal and relaying the command somehow?

Thanks,
Shmuel.


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About