On 05/27/2015 12:13 PM, Zeng Linggang wrote: > After research, We think pthread_tryjoin_np() and > pthread_timedjoin_np() are thread-safe. But, there > are not markings of them in glibc document. Thanks, Zeng Linggang. Applied. Cheers, Michael > Signed-off-by: Zeng Linggang <zenglg.jy@xxxxxxxxxxxxxx> > --- > man3/pthread_tryjoin_np.3 | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > > diff --git a/man3/pthread_tryjoin_np.3 b/man3/pthread_tryjoin_np.3 > index 4fef86c..acce537 100644 > --- a/man3/pthread_tryjoin_np.3 > +++ b/man3/pthread_tryjoin_np.3 > @@ -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. > -- 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 majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html