bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] pipe2: document lack of thread-safety in replacement


From: Eric Wong
Subject: [PATCH] pipe2: document lack of thread-safety in replacement
Date: Thu, 26 Jan 2012 01:09:19 +0000
User-agent: Mutt/1.5.21 (2010-09-15)

As the replacement cannot be made thread-safe, we need to
document this to prevent users from having a false sense
of safety.

* doc/glibc-functions/pipe2.texi (pipe2): mention lack of thread-safety

Signed-off-by: Eric Wong <address@hidden>
---
 I took the line off the existing documentation for the
 similar-in-purpose *at() functions.

 doc/glibc-functions/pipe2.texi |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/doc/glibc-functions/pipe2.texi b/doc/glibc-functions/pipe2.texi
index 2fef538..41965bc 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 safe to be used in libraries and is not 
multithread-safe.
 @end itemize
 
 Portability problems not fixed by Gnulib:
-- 
Eric Wong



reply via email to

[Prev in Thread] Current Thread [Next in Thread]