Staging
v0.5.1
v0.5.1
https://github.com/python/cpython
Revision 87255be6964979b5abdc4b9dcf81cdcfdad6e753 authored by Victor Stinner on 07 April 2020, 21:11:49 UTC, committed by GitHub on 07 April 2020, 21:11:49 UTC
Add a private _at_fork_reinit() method to _thread.Lock, _thread.RLock, threading.RLock and threading.Condition classes: reinitialize the lock after fork in the child process; reset the lock to the unlocked state. Rename also the private _reset_internal_locks() method of threading.Event to _at_fork_reinit(). * Add _PyThread_at_fork_reinit() private function. It is excluded from the limited C API. * threading.Thread._reset_internal_locks() now calls _at_fork_reinit() on self._tstate_lock rather than creating a new Python lock object.
1 parent 48b069a
Tip revision: 87255be6964979b5abdc4b9dcf81cdcfdad6e753 authored by Victor Stinner on 07 April 2020, 21:11:49 UTC
bpo-40089: Add _at_fork_reinit() method to locks (GH-19195)
bpo-40089: Add _at_fork_reinit() method to locks (GH-19195)
Tip revision: 87255be
File | Mode | Size |
---|---|---|
.azure-pipelines | ||
.github | ||
Doc | ||
Grammar | ||
Include | ||
Lib | ||
Mac | ||
Misc | ||
Modules | ||
Objects | ||
PC | ||
PCbuild | ||
Parser | ||
Programs | ||
Python | ||
Tools | ||
m4 | ||
.gitattributes | -rw-r--r-- | 1.8 KB |
.gitignore | -rw-r--r-- | 1.8 KB |
.travis.yml | -rw-r--r-- | 8.1 KB |
CODE_OF_CONDUCT.md | -rw-r--r-- | 630 bytes |
LICENSE | -rw-r--r-- | 12.5 KB |
Makefile.pre.in | -rw-r--r-- | 67.0 KB |
README.rst | -rw-r--r-- | 9.9 KB |
aclocal.m4 | -rw-r--r-- | 10.7 KB |
config.guess | -rwxr-xr-x | 43.1 KB |
config.sub | -rwxr-xr-x | 35.4 KB |
configure | -rwxr-xr-x | 495.9 KB |
configure.ac | -rw-r--r-- | 166.1 KB |
install-sh | -rwxr-xr-x | 15.0 KB |
netlify.toml | -rw-r--r-- | 82 bytes |
pyconfig.h.in | -rw-r--r-- | 44.1 KB |
setup.py | -rw-r--r-- | 103.2 KB |
Computing file changes ...