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

After research, We think pthread_detach() is thread-safe. But, there
is not marking of pthread_detach() 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:08 +08:00 committed by Michael Kerrisk
parent a7930e0d3d
commit bf0fbbcdd2
1 changed files with 13 additions and 0 deletions

View File

@ -61,6 +61,19 @@ is not a joinable thread.
No thread with the ID
.I thread
could be found.
.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 pthread_detach ()
T} Thread safety MT-Safe
.TE
.SH CONFORMING TO
POSIX.1-2001.
.SH NOTES