pthread_attr_init.3: ATTRIBUTES: Note functions that are thread-safe

After research, We think pthread_attr_init() and pthread_attr_destroy()
are thread-safe. But, there are not markings of pthread_attr_init()
and pthread_attr_destroy() in glibc document.

Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Zeng Linggang 2015-05-20 18:00:05 +08:00 committed by Michael Kerrisk
parent 5b53f4bac6
commit cdb9dd9e21
1 changed files with 14 additions and 0 deletions

View File

@ -76,6 +76,20 @@ error for
on Linux these functions always succeed
(but portable and future-proof applications should nevertheless
handle a possible error return).
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
.BR attributes (7).
.TS
allbox;
lbw22 lb lb
l l l.
Interface Attribute Value
T{
.BR pthread_attr_init (),
.BR pthread_attr_destroy ()
T} Thread safety MT-Safe
.TE
.SH CONFORMING TO
POSIX.1-2001.
.SH NOTES