From: cremes.devlist@... Date: 2006-11-29T05:22:25+09:00 Subject: Re: [ANN] slave-1.1.0 On Nov 28, 2006, at 1:49 PM, Tim Pease wrote: > On 11/28/06, Ara.T.Howard wrote: >> >> >> SYNOPSIS >> >> the Slave class forks a process and starts a drb server in the >> child using >> any object as the server. the process is detached so it is not >> required >> (nor possible) to wait on the child pid. a Heartbeat is set up >> between the >> parent and child processes so that the child will exit of the >> parent exits >> for any reason - preventing orphaned slaves from running >> indefinitely. the >> purpose of Slaves is to be able to easily set up a collection >> of objects >> communicating via drb protocols instead of having to use IPC. >> > > Does Slave work on the Win32 platform, or is this a UNIX only gem? Slave is UNIX only since it relies on fork(). I've looked at the code. Ara does a nice job of keeping the fork stuff encapsulated. If you have a Win32 mechanism that could be bolted on to Slave and replace fork(), you'd get the rest of the code for free. cr