OSDN Git Service

LDP: Update original to LDP v3.79
[linuxjm/LDP_man-pages.git] / original / man3 / pthread_yield.3
index e4864d0..a90589d 100644 (file)
@@ -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
@@ -60,14 +65,15 @@ instead.
 On Linux, this function is implemented as a call to
 .BR sched_yield (2).
 .SH SEE ALSO
-.BR sched_setscheduler (2),
 .BR sched_yield (2),
-.BR pthreads (7)
+.BR pthreads (7),
+.BR sched (7)
 .SH COLOPHON
-This page is part of release 3.64 of the Linux
+This page is part of release 3.79 of the Linux
 .I man-pages
 project.
 A description of the project,
-and information about reporting bugs,
+information about reporting bugs,
+and the latest version of this page,
 can be found at
 \%http://www.kernel.org/doc/man\-pages/.