87255be696
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. |
||
---|---|---|
.. | ||
next | ||
3.5.0.rst | ||
3.5.0a1.rst | ||
3.5.0a2.rst | ||
3.5.0a3.rst | ||
3.5.0a4.rst | ||
3.5.0b1.rst | ||
3.5.0b2.rst | ||
3.5.0b3.rst | ||
3.5.0b4.rst | ||
3.5.0rc1.rst | ||
3.5.0rc2.rst | ||
3.5.0rc3.rst | ||
3.5.0rc4.rst | ||
3.5.1.rst | ||
3.5.1rc1.rst | ||
3.5.2.rst | ||
3.5.2rc1.rst | ||
3.5.3.rst | ||
3.5.3rc1.rst | ||
3.5.4.rst | ||
3.5.4rc1.rst | ||
3.5.5.rst | ||
3.5.5rc1.rst | ||
3.6.0.rst | ||
3.6.0a1.rst | ||
3.6.0a2.rst | ||
3.6.0a3.rst | ||
3.6.0a4.rst | ||
3.6.0b1.rst | ||
3.6.0b2.rst | ||
3.6.0b3.rst | ||
3.6.0b4.rst | ||
3.6.0rc1.rst | ||
3.6.0rc2.rst | ||
3.6.1.rst | ||
3.6.1rc1.rst | ||
3.6.2.rst | ||
3.6.2rc1.rst | ||
3.6.2rc2.rst | ||
3.6.3.rst | ||
3.6.3rc1.rst | ||
3.6.4.rst | ||
3.6.4rc1.rst | ||
3.6.5.rst | ||
3.6.5rc1.rst | ||
3.6.6.rst | ||
3.6.6rc1.rst | ||
3.7.0.rst | ||
3.7.0a1.rst | ||
3.7.0a2.rst | ||
3.7.0a3.rst | ||
3.7.0a4.rst | ||
3.7.0b1.rst | ||
3.7.0b2.rst | ||
3.7.0b3.rst | ||
3.7.0b4.rst | ||
3.7.0b5.rst | ||
3.7.0rc1.rst | ||
3.8.0a1.rst | ||
3.8.0a2.rst | ||
3.8.0a3.rst | ||
3.8.0a4.rst | ||
3.8.0b1.rst | ||
3.9.0a1.rst | ||
3.9.0a2.rst | ||
3.9.0a3.rst | ||
3.9.0a4.rst | ||
3.9.0a5.rst |