# HG changeset patch # User Eric Blake # Date 1327591908 25200 # Node ID 8b91748dde8f279082030ebb6b4cee2cfaa8fc5d # Parent 2afce32badc00e3650ae02ec86453b33484093f0 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 -r 2afce32badc0 -r 8b91748dde8f ChangeLog --- a/ChangeLog Tue Jan 24 13:21:56 2012 +0100 +++ b/ChangeLog Thu Jan 26 08:31:48 2012 -0700 @@ -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 -r 2afce32badc0 -r 8b91748dde8f doc/glibc-functions/accept4.texi --- a/doc/glibc-functions/accept4.texi Tue Jan 24 13:21:56 2012 +0100 +++ b/doc/glibc-functions/accept4.texi Thu Jan 26 08:31:48 2012 -0700 @@ -10,6 +10,7 @@ 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 -r 2afce32badc0 -r 8b91748dde8f doc/glibc-functions/pipe2.texi --- a/doc/glibc-functions/pipe2.texi Tue Jan 24 13:21:56 2012 +0100 +++ b/doc/glibc-functions/pipe2.texi Thu Jan 26 08:31:48 2012 -0700 @@ -10,6 +10,7 @@ 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: