mirror of https://github.com/mkerrisk/man-pages
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:
parent
5b53f4bac6
commit
cdb9dd9e21
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue