mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Fix wrong function name. Noticed by Clive Darke.
This commit is contained in:
parent
44e81687a2
commit
ffdf94ae79
1 changed files with 1 additions and 1 deletions
|
@ -474,7 +474,7 @@ the fork, and releasing them afterwards. In addition, it resets any
|
||||||
:ref:`lock-objects` in the child. When extending or embedding Python, there
|
:ref:`lock-objects` in the child. When extending or embedding Python, there
|
||||||
is no way to inform Python of additional (non-Python) locks that need to be
|
is no way to inform Python of additional (non-Python) locks that need to be
|
||||||
acquired before or reset after a fork. OS facilities such as
|
acquired before or reset after a fork. OS facilities such as
|
||||||
:cfunc:`posix_atfork` would need to be used to accomplish the same thing.
|
:cfunc:`pthread_atfork` would need to be used to accomplish the same thing.
|
||||||
Additionally, when extending or embedding Python, calling :cfunc:`fork`
|
Additionally, when extending or embedding Python, calling :cfunc:`fork`
|
||||||
directly rather than through :func:`os.fork` (and returning to or calling
|
directly rather than through :func:`os.fork` (and returning to or calling
|
||||||
into Python) may result in a deadlock by one of Python's internal locks
|
into Python) may result in a deadlock by one of Python's internal locks
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue