Thread (1 message) 1 message, 1 author, 2015-06-18

[PATCH] gsignal.3: ATTRIBUTES: Note functions that are thread-safe

From: Zeng Linggang <hidden>
Date: 2015-06-18 05:36:51
Subsystem: the rest · Maintainer: Linus Torvalds

Possibly related (same subject, not in this thread)

The markings match glibc markings.
markings of functions in glibc are:
- gsignal: MT-Safe
- ssignal: MT-Safe sigintr

Signed-off-by: Zeng Linggang <redacted>
---
 man3/gsignal.3 | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
diff --git a/man3/gsignal.3 b/man3/gsignal.3
index ff2f582..71bb697 100644
--- a/man3/gsignal.3
+++ b/man3/gsignal.3
@@ -92,6 +92,22 @@ and returns the value returned by that function.
 The range of possible values
 .I signum
 varies (often 1-15 or 1-17).
+.SH ATTRIBUTES
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lb lb lb
+l l l.
+Interface	Attribute	Value
+T{
+.BR gsignal ()
+T}	Thread safety	MT-Safe
+T{
+.BR ssignal ()
+T}	Thread safety	MT-Safe sigintr
+.TE
+
 .SH CONFORMING TO
 These functions are available under AIX, DG/UX, HP-UX, SCO, Solaris, Tru64.
 They are called obsolete under most of these systems, and are
-- 
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help