diff options
author | Gregory P. Smith <gps@python.org> | 2023-05-25 20:14:09 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-25 20:14:09 (GMT) |
commit | d08679212d9af52dd074cd4a6abb440edb944c9c (patch) | |
tree | dc021738afae652454a1dfeb14ddf0d8ba6a82b5 /Python/pymath.c | |
parent | 08888650aa03e285a97f84f34c2629ec8a8a8681 (diff) | |
download | cpython-d08679212d9af52dd074cd4a6abb440edb944c9c.zip cpython-d08679212d9af52dd074cd4a6abb440edb944c9c.tar.gz cpython-d08679212d9af52dd074cd4a6abb440edb944c9c.tar.bz2 |
gh-104372: Drop the GIL around the vfork() call. (#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 #104372.
Diffstat (limited to 'Python/pymath.c')
0 files changed, 0 insertions, 0 deletions