STINNER Victor added the comment: If the main thread waits on select() and uses a pipe with signal.set_wakeup_fd(), it should be fine. Is that your case?
Asyncio requires to have an event loop running in the main thread to spawn child processes, to get SIGCHLD signals to get notified of child completions. Or you can ignore these signals and use the "safe" child waiter using waitall() and then iterate on all children. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21895> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com