Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 861d27f

Browse files
committed
Merge with 3.1.
2 parents 6159ee3 + e402724 commit 861d27f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/c-api/init.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ the fork, and releasing them afterwards. In addition, it resets any
489489
:ref:`lock-objects` in the child. When extending or embedding Python, there
490490
is no way to inform Python of additional (non-Python) locks that need to be
491491
acquired before or reset after a fork. OS facilities such as
492-
:c:func:`posix_atfork` would need to be used to accomplish the same thing.
492+
:c:func:`pthread_atfork` would need to be used to accomplish the same thing.
493493
Additionally, when extending or embedding Python, calling :c:func:`fork`
494494
directly rather than through :func:`os.fork` (and returning to or calling
495495
into Python) may result in a deadlock by one of Python's internal locks

0 commit comments

Comments
 (0)