I was wondering if there are some low level API that I can use in Drb to make it run as the equivalent of an "event loop" in the main thread of a program rather than having DRb starting its own thread as it does when start_service is invoked.
The reason for this is that I need to run a remote program without disturbing its original list of threads. So running "synchronously" in the main thread would be ok.
Advices and ideas are welcome
Laurent
How about using ThreadGroup to organize your threads?
PGP.sig (186 Bytes)
···
On 17 Dec 2004, at 09:58, Laurent Julliard wrote:
I was wondering if there are some low level API that I can use in Drb to make it run as the equivalent of an "event loop" in the main thread of a program rather than having DRb starting its own thread as it does when start_service is invoked.
The reason for this is that I need to run a remote program without disturbing its original list of threads. So running "synchronously" in the main thread would be ok.
Advices and ideas are welcome