Author vstinner
Recipients gvanrossum, martius, vstinner, yselivanov
Date 2015-02-04.22:16:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Attached at_fork.patch: detect fork and handle fork.

* Add _at_fork() method to asyncio.BaseEventLoop
* Add _detect_fork() method to asyncio.BaseEventLoop
* Add _at_fork() method to selectors.BaseSelector

I tried to minimize the number of calls to _detect_fork(): only when the self-pipe or the selector is used.

I only tried More tests using two processes running two event loops should be done, and non-regression tests should be written.

The issue #22087 (multiprocessing) looks like a duplicate of this issue.
Date User Action Args
2015-02-04 22:16:23vstinnersetrecipients: + vstinner, gvanrossum, yselivanov, martius
2015-02-04 22:16:22vstinnersetmessageid: <>
2015-02-04 22:16:22vstinnerlinkissue21998 messages
2015-02-04 22:16:22vstinnercreate