From: Eric Hodel Date: 2004-12-18T03:05:35+09:00 Subject: Re: Running DRb in the main thread? --Apple-Mail-6-445480992 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed 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 How about using ThreadGroup to organize your threads? --Apple-Mail-6-445480992 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFBwx/sMypVHHlsnwQRAjE0AJ9HQ/Q6OnGD91AEqrOwdjIX4b0TcgCfdj2l 9ToJCU1tsCsCXpkybnV2mtQ= =Lxwh -----END PGP SIGNATURE----- --Apple-Mail-6-445480992--