From: Eric Blake Date: Thu, 26 Jan 2012 15:31:48 +0000 (-0700) Subject: pipe2, assign4: document lack of thread-safety in replacement X-Git-Tag: v0.1~1213 X-Git-Url: http://erislabs.net/gitweb/?a=commitdiff_plain;h=41423a6ca6273e751ca6fd2376641f57b8e40ff8;hp=55b0a0b1dd267ef48971e4bb84768244ff58b340;p=gnulib.git pipe2, assign4: document lack of thread-safety in replacement * doc/glibc-functions/pipe2.texi (pipe2): Mention thread safety issue in replacement. * doc/glibc-functions/accept4.texi (accept4): Likewise. Based on a report by Eric Wong. --- diff --git a/ChangeLog b/ChangeLog index 2aa1e838a..a1c8a293a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2012-01-26 Eric Blake + + pipe2: document lack of thread-safety in replacement + * doc/glibc-functions/pipe2.texi (pipe2): Mention thread safety + issue in replacement. + * doc/glibc-functions/accept4.texi (accept4): Likewise. + Based on a report by Eric Wong. + 2012-01-24 Marc-André Lureau (tiny change) Bruno Haible diff --git a/doc/glibc-functions/accept4.texi b/doc/glibc-functions/accept4.texi index f21d62b1d..cd0486cda 100644 --- a/doc/glibc-functions/accept4.texi +++ b/doc/glibc-functions/accept4.texi @@ -10,6 +10,7 @@ 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. @end itemize Portability problems not fixed by Gnulib: diff --git a/doc/glibc-functions/pipe2.texi b/doc/glibc-functions/pipe2.texi index 2fef53861..e632d3da8 100644 --- a/doc/glibc-functions/pipe2.texi +++ b/doc/glibc-functions/pipe2.texi @@ -10,6 +10,7 @@ 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. @end itemize Portability problems not fixed by Gnulib: