[issue21998] asyncio: a new self-pipe should be created in the child process after fork

Guido van Rossum report at bugs.python.org
Mon Dec 1 16:35:02 CET 2014


Guido van Rossum added the comment:

How about not doing anything in the parent but in the child, closing the
selector and then the event loop?

On Mon, Dec 1, 2014 at 1:29 AM, Martin Richard <report at bugs.python.org>
wrote:

>
> Martin Richard added the comment:
>
> I said something wrong in my previous comment: removing and re-adding the
> reader callback right after the fork() is obviously subject to a race
> condition.
>
> I'll go for the monkey patching.
>
> ----------
>
> _______________________________________
> Python tracker <report at bugs.python.org>
> <http://bugs.python.org/issue21998>
> _______________________________________
>

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21998>
_______________________________________


More information about the Python-bugs-list mailing list