Applied. Thanks, Haitao. Cheers, Michael On 05/13/2014 03:31 AM, Peng Haitao wrote: > The function pthread_yield() is thread safe. > > Signed-off-by: Peng Haitao <penght@xxxxxxxxxxxxxx> > --- > man3/pthread_yield.3 | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git a/man3/pthread_yield.3 b/man3/pthread_yield.3 > index 894206b..ef8f171 100644 > --- a/man3/pthread_yield.3 > +++ b/man3/pthread_yield.3 > @@ -22,7 +22,7 @@ > .\" the source, must acknowledge the copyright and authors of this work. > .\" %%%LICENSE_END > .\" > -.TH PTHREAD_YIELD 3 2013-03-05 "Linux" "Linux Programmer's Manual" > +.TH PTHREAD_YIELD 3 2014-05-13 "Linux" "Linux Programmer's Manual" > .SH NAME > pthread_yield \- yield the processor > .SH SYNOPSIS > @@ -50,6 +50,11 @@ on error, it returns an error number. > On Linux, this call always succeeds > (but portable and future-proof applications should nevertheless > handle a possible error return). > +.SH ATTRIBUTES > +.SS Multithreading (see pthreads(7)) > +The > +.BR pthread_yield () > +function is thread-safe. > .SH CONFORMING TO > This call is nonstandard, but present on several other systems. > Use the standardized > -- 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