summaryrefslogtreecommitdiffstats
path: root/Python/emscripten_signal.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-05-25 20:44:29 (GMT)
committerGitHub <noreply@github.com>2023-05-25 20:44:29 (GMT)
commit5c2971b78f7e2bdf8ed6073c7470cdfe2a4b7a69 (patch)
tree2e1a859429ce9295ebb354115f35387dd914e815 /Python/emscripten_signal.c
parent930efde4c72a38cdc98dfafc94f790638639924e (diff)
downloadcpython-5c2971b78f7e2bdf8ed6073c7470cdfe2a4b7a69.zip
cpython-5c2971b78f7e2bdf8ed6073c7470cdfe2a4b7a69.tar.gz
cpython-5c2971b78f7e2bdf8ed6073c7470cdfe2a4b7a69.tar.bz2
[3.12] gh-104372: Drop the GIL around the vfork() call. (GH-104782) (#104942)
gh-104372: Drop the GIL around the vfork() call. (GH-104782) On Linux where the `subprocess` module can use the `vfork` syscall for faster spawning, prevent the parent process from blocking other threads by dropping the GIL while it waits for the vfork'ed child process `exec` outcome. This prevents spawning a binary from a slow filesystem from blocking the rest of the application. Fixes GH-104372. (cherry picked from commit d08679212d9af52dd074cd4a6abb440edb944c9c) Co-authored-by: Gregory P. Smith <gps@python.org>
Diffstat (limited to 'Python/emscripten_signal.c')
0 files changed, 0 insertions, 0 deletions