pipe2: refine doc about thread-safety
authorBruno Haible <bruno@clisp.org>
Thu, 26 Jan 2012 21:21:45 +0000 (22:21 +0100)
committerBruno Haible <bruno@clisp.org>
Thu, 26 Jan 2012 21:21:45 +0000 (22:21 +0100)
* doc/glibc-functions/pipe2.texi: Clarify the extent of the
multithread-safety problem.
* doc/glibc-functions/accept4.texi: Likewise.

ChangeLog
doc/glibc-functions/accept4.texi
doc/glibc-functions/pipe2.texi

index 485e7d4..d8efdbe 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2012-01-26  Bruno Haible  <bruno@clisp.org>
 
+       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  <bruno@clisp.org>
+
        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 <fcntl.h>, for O_RDONLY.
index cd0486c..a11a4bc 100644 (file)
@@ -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:
index e632d3d..2c62acb 100644 (file)
@@ -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: