linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] siginterrupt.3: ATTRIBUTES: Note function that is not thread-safe
@ 2014-06-11  7:02 Peng Haitao
       [not found] ` <1402470146-16506-1-git-send-email-penght-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Peng Haitao @ 2014-06-11  7:02 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w
  Cc: carlos-v2tUB8YBRSi3e3T8WW9gsA, aoliva-H+wXaHxf7aLQT0dZR+AlfA,
	linux-man-u79uwXL29TY76Z2rM5mHXA

The function siginterrupt() is not thread safe.

Signed-off-by: Peng Haitao <penght-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
---
 man3/siginterrupt.3 | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/man3/siginterrupt.3 b/man3/siginterrupt.3
index bdf8b21..8365348 100644
--- a/man3/siginterrupt.3
+++ b/man3/siginterrupt.3
@@ -84,6 +84,12 @@ set to indicate the cause of the error.
 .TP
 .B EINVAL
 The specified signal number is invalid.
+.SH ATTRIBUTES
+.SS Multithreading (see pthreads(7))
+The
+.BR siginterrupt ()
+function uses a global variable that is not protected,
+so it is not thread-safe.
 .SH CONFORMING TO
 4.3BSD, POSIX.1-2001.
 POSIX.1-2008 marks
-- 
1.9.3

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-06-11  9:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-11  7:02 [PATCH] siginterrupt.3: ATTRIBUTES: Note function that is not thread-safe Peng Haitao
     [not found] ` <1402470146-16506-1-git-send-email-penght-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2014-06-11  8:41   ` Michael Kerrisk (man-pages)
2014-06-11  8:41   ` Michael Kerrisk (man-pages)
     [not found]     ` <53981650.5020900-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-06-11  9:09       ` Peng Haitao
     [not found]         ` <53981CB2.60509-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2014-06-11  9:25           ` Michael Kerrisk (man-pages)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).