summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGregory P. Smith <greg@mad-scientist.com>2008-09-30 20:41:13 (GMT)
committerGregory P. Smith <greg@mad-scientist.com>2008-09-30 20:41:13 (GMT)
commit0806749e631ab4e24f78df347a9d932bbc3cb6c7 (patch)
treec8cab45d2960f3bd4beef7c713c7dc0cc8f4d1c3 /Doc
parentf40200b21475998b262e2aa0ec5b909ddde34be2 (diff)
downloadcpython-0806749e631ab4e24f78df347a9d932bbc3cb6c7.zip
cpython-0806749e631ab4e24f78df347a9d932bbc3cb6c7.tar.gz
cpython-0806749e631ab4e24f78df347a9d932bbc3cb6c7.tar.bz2
Works around issue3863: freebsd4/5/6 and os2emx are known to have OS bugs when
calling fork() from a child thread. This disables that unit test (with a note printed to stderr) on those platforms. A caveat about buggy platforms is added to the os.fork documentation.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/os.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index c223e54..14784fa 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -1646,6 +1646,10 @@ written in Python, such as a mail server's external command delivery program.
Fork a child process. Return ``0`` in the child and the child's process id in the
parent. If an error occurs :exc:`OSError` is raised.
+
+ Note that some platforms including FreeBSD <= 6.3, Cygwin and OS/2 EMX have
+ known issues when using fork() from a thread.
+
Availability: Unix.