diff options
author | Gregory P. Smith <greg@mad-scientist.com> | 2008-09-30 20:41:13 +0000 |
---|---|---|
committer | Gregory P. Smith <greg@mad-scientist.com> | 2008-09-30 20:41:13 +0000 |
commit | 0c3c51d332785b06ef31fdf7698be7d95cd7821e (patch) | |
tree | a695d492144c5a3d408fffb932ef35a0af9d0a9e /Doc/library/os.rst | |
parent | 507a5f7182afa866485cc28f01a254b98d951ef1 (diff) | |
download | cpython-0c3c51d332785b06ef31fdf7698be7d95cd7821e.tar.gz |
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/library/os.rst')
-rw-r--r-- | Doc/library/os.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst index c223e549b7..14784fad66 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. |