]> Savannah Git Hosting - gnulib.git/commitdiff
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 485e7d422eb0ea9eed0db2282ae70632a10a3eaf..d8efdbeddb2f488e421842a008a09394094899f4 100644 (file)
--- 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.
index cd0486cda50b60231c78a5fa4a1441c941580401..a11a4bcc3120dc7072a36b6eddbd3f3326ea601a 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 e632d3da8a7cbf9d91ae26dd5b5120abd42b3e0a..2c62acb19fc914d527adc2e118e230460b13f8b5 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: