summaryrefslogtreecommitdiff
path: root/Lib/code.py
diff options
context:
space:
mode:
authorAntoine Pitrou <pitrou@free.fr>2017-06-13 09:46:06 +0200
committerGitHub <noreply@github.com>2017-06-13 09:46:06 +0200
commit2b5cc5ebaff41445200753f1a69fd4e6a9475a1e (patch)
treee5d70f0ba342a9f6cfe79329abfbb705e17a89be /Lib/code.py
parentbd4e9e0ca96dabf33605d9b1fd1e0562ece8ae18 (diff)
downloadcpython-git-2b5cc5ebaff41445200753f1a69fd4e6a9475a1e.tar.gz
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 'Lib/code.py')
0 files changed, 0 insertions, 0 deletions