On 05/20/2015 12:00 PM, Zeng Linggang wrote: > After research, We think pthread_join() is thread-safe. But, there > is not marking of pthread_join() in glibc document. > > Signed-off-by: Zeng Linggang <zenglg.jy@xxxxxxxxxxxxxx> Thanks, Zeng Linggang. Patch applied. Cheers, Michael > --- > man3/pthread_join.3 | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > > diff --git a/man3/pthread_join.3 b/man3/pthread_join.3 > index 00eafb9..3340172 100644 > --- a/man3/pthread_join.3 > +++ b/man3/pthread_join.3 > @@ -95,6 +95,19 @@ Another thread is already waiting to join with this 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_join () > +T} Thread safety MT-Safe > +.TE > + > .SH CONFORMING TO > POSIX.1-2001. > .SH NOTES > -- 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