summaryrefslogtreecommitdiffstats
path: root/man3/pthread_yield.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/pthread_yield.3')
-rw-r--r--man3/pthread_yield.322
1 files changed, 10 insertions, 12 deletions
diff --git a/man3/pthread_yield.3 b/man3/pthread_yield.3
index e367aa372..95bb580f4 100644
--- a/man3/pthread_yield.3
+++ b/man3/pthread_yield.3
@@ -3,7 +3,7 @@
.\"
.\" SPDX-License-Identifier: Linux-man-pages-copyleft
.\"
-.TH pthread_yield 3 2022-12-15 "Linux man-pages 6.03"
+.TH pthread_yield 3 2023-07-20 "Linux man-pages 6.05.01"
.SH NAME
pthread_yield \- yield the processor
.SH LIBRARY
@@ -35,35 +35,33 @@ 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 VERSIONS
-Since glibc 2.34, this function is marked as deprecated.
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
.BR attributes (7).
-.ad l
-.nh
.TS
allbox;
lbx lb lb
l l l.
Interface Attribute Value
T{
+.na
+.nh
.BR pthread_yield ()
T} Thread safety MT-Safe
.TE
-.hy
-.ad
.sp 1
+.SH VERSIONS
+On Linux, this function is implemented as a call to
+.BR sched_yield (2).
.SH STANDARDS
-This call is nonstandard, but present on several other systems.
+None.
+.SH HISTORY
+.\" BSD, Tru64, AIX, and Irix.
+Deprecated since glibc 2.34.
Use the standardized
.BR sched_yield (2)
instead.
-.\" e.g., the BSDs, Tru64, AIX, and Irix.
.SH NOTES
-On Linux, this function is implemented as a call to
-.BR sched_yield (2).
-.PP
.BR pthread_yield ()
is intended for use with real-time scheduling policies (i.e.,
.B SCHED_FIFO