From: Bruno Haible Date: Thu, 26 Jan 2012 21:21:45 +0000 (+0100) Subject: pipe2: refine doc about thread-safety X-Git-Tag: v0.1~1211 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=8661b04d4c3c3cdded4cdb00c5a4ced165612c1d;p=gnulib.git pipe2: refine doc about thread-safety * doc/glibc-functions/pipe2.texi: Clarify the extent of the multithread-safety problem. * doc/glibc-functions/accept4.texi: Likewise. --- diff --git a/ChangeLog b/ChangeLog index 485e7d422..d8efdbedd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2012-01-26 Bruno Haible + pipe2: refine doc about thread-safety + * doc/glibc-functions/pipe2.texi: Clarify the extent of the + multithread-safety problem. + * doc/glibc-functions/accept4.texi: Likewise. + +2012-01-26 Bruno Haible + posix_spawn_file_actions_addopen: Fix 2012-01-08 commit. * m4/posix_spawn.m4 (gl_FUNC_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN): In the test program, include , for O_RDONLY. diff --git a/doc/glibc-functions/accept4.texi b/doc/glibc-functions/accept4.texi index cd0486cda..a11a4bcc3 100644 --- a/doc/glibc-functions/accept4.texi +++ b/doc/glibc-functions/accept4.texi @@ -10,7 +10,8 @@ Portability problems fixed by Gnulib: This function is missing on many non-glibc platforms: MacOS X 10.5, FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8, AIX 5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 11 2011-11, Cygwin 1.7.1, mingw, MSVC 9, Interix 3.5, BeOS. -But the replacement function is not atomic in multi-threaded programs. +But the replacement function is not atomic; this matters in multi-threaded +programs that spawn child processes. @end itemize Portability problems not fixed by Gnulib: diff --git a/doc/glibc-functions/pipe2.texi b/doc/glibc-functions/pipe2.texi index e632d3da8..2c62acb19 100644 --- a/doc/glibc-functions/pipe2.texi +++ b/doc/glibc-functions/pipe2.texi @@ -10,7 +10,8 @@ Portability problems fixed by Gnulib: This function is missing on many non-glibc platforms: MacOS X 10.5, FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8, AIX 5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 11 2011-11, Cygwin 1.7.1, mingw, MSVC 9, Interix 3.5, BeOS. -But the replacement function is not atomic in multi-threaded programs. +But the replacement function is not atomic; this matters in multi-threaded +programs that spawn child processes. @end itemize Portability problems not fixed by Gnulib: