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

After research, We think pthread_tryjoin_np() and
pthread_timedjoin_np() are thread-safe. But, there
are not markings of them 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-27 18:13:02 +08:00 committed by Michael Kerrisk
parent 5effafa2f6
commit 672a9903d3
1 changed files with 14 additions and 0 deletions

View File

@ -117,6 +117,20 @@ never returns the error
.BR EINTR .
.SH VERSIONS
These functions first appeared in glibc in version 2.3.3.
.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_tryjoin_np (),
.BR pthread_timedjoin_np ()
T} Thread safety MT-Safe
.TE
.SH CONFORMING TO
These functions are nonstandard GNU extensions;
hence the suffix "_np" (nonportable) in the names.