[Python-checkins] cpython (merge 3.1 -> 3.2): Merge with 3.1.
ezio.melotti
python-checkins at python.org
Wed Apr 20 20:34:05 CEST 2011
http://hg.python.org/cpython/rev/a2a2882ce6b4
changeset: 69477:a2a2882ce6b4
branch: 3.2
parent: 69473:e5f11efe89a6
parent: 69476:96072a9950ef
user: Ezio Melotti <ezio.melotti at gmail.com>
date: Wed Apr 20 21:32:40 2011 +0300
summary:
Merge with 3.1.
files:
Doc/c-api/init.rst | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst
--- a/Doc/c-api/init.rst
+++ b/Doc/c-api/init.rst
@@ -489,7 +489,7 @@
: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
acquired before or reset after a fork. OS facilities such as
-:c:func:`posix_atfork` would need to be used to accomplish the same thing.
+:c:func:`pthread_atfork` would need to be used to accomplish the same thing.
Additionally, when extending or embedding Python, calling :c:func:`fork`
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
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list