summaryrefslogtreecommitdiffstats
path: root/man3/pthread_yield.3
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--man3/pthread_yield.37
1 files changed, 3 insertions, 4 deletions
diff --git a/man3/pthread_yield.3 b/man3/pthread_yield.3
index 95bb580..34d2bad 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 2023-07-20 "Linux man-pages 6.05.01"
+.TH pthread_yield 3 2023-10-31 "Linux man-pages 6.7"
.SH NAME
pthread_yield \- yield the processor
.SH LIBRARY
@@ -13,13 +13,13 @@ POSIX threads library
.nf
.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
.B #include <pthread.h>
-.PP
+.P
.B [[deprecated]] int pthread_yield(void);
.fi
.SH DESCRIPTION
.BR Note :
This function is deprecated; see below.
-.PP
+.P
.BR pthread_yield ()
causes the calling thread to relinquish the CPU.
The thread is placed at the end of the run queue for its static
@@ -49,7 +49,6 @@ T{
.BR pthread_yield ()
T} Thread safety MT-Safe
.TE
-.sp 1
.SH VERSIONS
On Linux, this function is implemented as a call to
.BR sched_yield (2).