summaryrefslogtreecommitdiffstats
path: root/Python/sysmodule.c
diff options
context:
space:
mode:
authorAntoine Pitrou <pitrou@free.fr>2017-06-13 07:46:06 (GMT)
committerGitHub <noreply@github.com>2017-06-13 07:46:06 (GMT)
commit2b5cc5ebaff41445200753f1a69fd4e6a9475a1e (patch)
treee5d70f0ba342a9f6cfe79329abfbb705e17a89be /Python/sysmodule.c
parentbd4e9e0ca96dabf33605d9b1fd1e0562ece8ae18 (diff)
downloadcpython-2b5cc5ebaff41445200753f1a69fd4e6a9475a1e.zip
cpython-2b5cc5ebaff41445200753f1a69fd4e6a9475a1e.tar.gz
cpython-2b5cc5ebaff41445200753f1a69fd4e6a9475a1e.tar.bz2
bpo-30643: Fix race condition in signal wakeup in forkserver (followup to PR #1989) (#2139)
* Fix race condition in signal wakeup in forkserver (followup to PR #1989) There's an admittedly well-known race condition where ECHILD can arrive just before the C function epoll_wait() and the latter wouldn't therefore return EINTR. The solution is to use set_wakeup_fd(), which was designed to avoid such race conditions. * Reset wakeup fd in child
Diffstat (limited to 'Python/sysmodule.c')
0 files changed, 0 insertions, 0 deletions