Message289920
| Author | vstinner |
|---|---|
| Recipients | bkabrda, neologix, njs, vstinner |
| Date | 2017-03-21.06:57:51 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <CAMpsgwaOPXM2tYSk-qML2VFcUMNNAbkf=xX5A2aHkP=+gW+FZA@mail.gmail.com> |
| In-reply-to | <CAMpsgwY6o=RZW=AqVbA0umU7mm7FAwV-hNz279MR+qkCtyn79A@mail.gmail.com> |
| Content | |
|---|---|
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. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2017-03-21 06:57:51 | vstinner | set | recipients: + vstinner, njs, neologix, bkabrda |
| 2017-03-21 06:57:51 | vstinner | link | issue21895 messages |
| 2017-03-21 06:57:51 | vstinner | create | |