changeset 16315:3cd17879cdb5

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.
author Bruno Haible <bruno@clisp.org>
date Thu, 26 Jan 2012 22:21:45 +0100
parents f25c774dd4b6
children e0f8ddc05b50
files ChangeLog doc/glibc-functions/accept4.texi doc/glibc-functions/pipe2.texi
diffstat 3 files changed, 11 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+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.
--- a/doc/glibc-functions/accept4.texi
+++ b/doc/glibc-functions/accept4.texi
@@ -10,7 +10,8 @@
 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:
--- a/doc/glibc-functions/pipe2.texi
+++ b/doc/glibc-functions/pipe2.texi
@@ -10,7 +10,8 @@
 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: