[Twisted-Python] [patch] 2/4 processEnded no thread callback
Jean-Paul Calderone
exarkun at divmod.com
Wed May 17 09:06:09 MDT 2006
On Wed, 17 May 2006 16:31:56 +0200, Andrea Arcangeli <andrea at cpushare.com> wrote:
>I noticed processEnded is called by threads. This generates a subtle
>race condition for most code (or at least for my code). The fact
>processEnded is called from threads isn't documented anywhere and so I
>prefer to be safe than sorry since I assume most code is written
>thinking processEnded will run in the usual serialized context and not
>in a parallel racy thread.
No it isn't. The bug you imagine here is non-existent. There is nothing to be fixed.
Jean-Paul
More information about the Twisted-Python
mailing list