[Spread-users] Spread and fork ()

J C Lawrence claw at kanga.nu
Tue Nov 23 23:30:12 EST 2004


On Tue, 23 Nov 2004 18:26:26 -0500
George Schlossnagle <george at omniti.com> wrote:

> That should be safe.  What's unsupported is:

> spread_handle = spread.connect(...)
> os.fork()
> spread_handle.join(...)
> # carry on our merry way

Right then.  That just leaves a potential race condition for me to
resolve in terms of messages sent during the window between the
disconnect and the (re-)connect on the other side of the fork().

Hurm.

--
J C Lawrence
---------(*)                Satan, oscillate my metallic sonatas.
claw at kanga.nu               He lived as a devil, eh?
http://www.kanga.nu/~claw/  Evil is a name of a foeman, as I live.




More information about the Spread-users mailing list