blob: 3948852fbee6b8c2ca8551d21dc3d68f741dc992 [file] [log] [blame]
Add a private ``_at_fork_reinit()`` method to :class:`_thread.Lock`,
:class:`_thread.RLock`, :class:`threading.RLock` and
:class:`threading.Condition` classes: reinitialize the lock at fork in the
child process, reset the lock to the unlocked state.
Rename also the private ``_reset_internal_locks()`` method of
:class:`threading.Event` to ``_at_fork_reinit()``.