On Wed, Sep 29, 2010 at 11:32:14AM +0900, John Mettraux wrote: > > On Mon, Sep 27, 2010 at 10:33:00PM -0700, Eric Platon wrote: > > > > > Speaking of things occuring at different paces, I think there might still > > > be an issue in the current implementation : what happens if engine A just > > > launched wfid0, and engine B stumbles on > > > > My project requires a single engine. I feel safe against such a > > scenario, but the problem exists, yes. > > > > Instead of iterating in the hope to get a unique name, how about > > having launch_single also store the engine name aside the wfid ? > > this would tell me that another engine did the launch, but maybe the process > is dead (and needs to be relaunched). > > Still thinking about this issue.
Hello Eric, I went with this patch http://github.com/jmettraux/ruote/commit/0880debd868628138bc5497c45637851ce92157f it doesn't attempt to relaunch if the wfid is less that 1 second old or pointing to a running process. Shout if you feel it's wrong. Cheers, -- John Mettraux - http://jmettraux.wordpress.com -- you received this message because you are subscribed to the "ruote users" group. to post : send email to [email protected] to unsubscribe : send email to [email protected] more options : http://groups.google.com/group/openwferu-users?hl=en
