Skip to contentSkip to conversation

mq_getattr.3: ATTRIBUTES: Note function that is thread-safe

PATCH Applied Qian Lei 2 participants 3 messages Jun 9, 2014 – Jun 10, 2014 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore

Qian Lei

author
#0 lore raw

PATCH 1/1 mq_getattr.3: ATTRIBUTES: Note function that is thread-safe

The functions mq_getattr() and mq_setattr() are thread safe.

---
 man3/mq_getattr.3 | 7 +++++++
 1 file changed, 7 insertions(+)
man3/mq_getattr.3 +7 -0
index 0fe370d..1c2321f 100644
@@ -134,6 +134,13 @@ is invalid.
 .I newattr\->mq_flags
 contained set bits other than
 .BR O_NONBLOCK .
+.SH ATTRIBUTES
+.SS Multithreading (see pthreads(7))
+The
+.BR mq_getattr ()
+and
+.BR mq_setattr ()
+functions are thread-safe.
 .SH CONFORMING TO
 POSIX.1-2001.
 .SH NOTES
Signature · 6 lines
1.8.3.1

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
author
#1 lore raw

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

The functions mq_getattr() and mq_setattr() are thread safe.

---
 man3/mq_getattr.3 | 7 +++++++
 1 file changed, 7 insertions(+)
man3/mq_getattr.3 +7 -0
index 0fe370d..1c2321f 100644
@@ -134,6 +134,13 @@ is invalid.
 .I newattr\->mq_flags
 contained set bits other than
 .BR O_NONBLOCK .
+.SH ATTRIBUTES
+.SS Multithreading (see pthreads(7))
+The
+.BR mq_getattr ()
+and
+.BR mq_setattr ()
+functions are thread-safe.
 .SH CONFORMING TO
 POSIX.1-2001.
 .SH NOTES
Signature · 6 lines
1.8.3.1

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#2 lore raw
In reply to Qian Lei

Applied. Thank you, Qian Lei.

Cheers,

Michael

Quoted 26 lines · Qian Lei

The functions mq_getattr() and mq_setattr() are thread safe.

---
 man3/mq_getattr.3 | 7 +++++++
 1 file changed, 7 insertions(+)
man3/mq_getattr.3 +7 -0
index 0fe370d..1c2321f 100644
@@ -134,6 +134,13 @@ is invalid.
 .I newattr\->mq_flags
 contained set bits other than
 .BR O_NONBLOCK .
+.SH ATTRIBUTES
+.SS Multithreading (see pthreads(7))
+The
+.BR mq_getattr ()
+and
+.BR mq_setattr ()
+functions are thread-safe.
 .SH CONFORMING TO
 POSIX.1-2001.
 .SH NOTES
Signature · 7 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html