Message200463
| Author |
gvanrossum |
| Recipients |
David.Edelsohn, gvanrossum, neologix, python-dev, skrah |
| Date |
2013年10月19日.18:11:35 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<CAP7+vJLatN-SG4LjEsLDdqA5ievvxYvV9q-uVPY=+qy6NLRR1g@mail.gmail.com> |
| In-reply-to |
<CAH_1eM1C4F0JFPPGbbAQoaLmzNV+7bvYr0CXKiSWKs7=oL9qOQ@mail.gmail.com> |
| Content |
Actually, I think we're talking about the actual select() syscal not
returning when SIGCHLD is received and handled. Running the C-level handler
isn't enough, the syscall must return with EINTR so the Python handler can
run (which then writes a byte to the self-pipe to ensure select() returns,
but that seems too late). Maybe twiddling with SA_RESTART can fix this? |
|