summaryrefslogtreecommitdiffstats
path: root/upstream/opensuse-tumbleweed/man3/pthread_yield.3
diff options
context:
space:
mode:
Diffstat (limited to 'upstream/opensuse-tumbleweed/man3/pthread_yield.3')
-rw-r--r--upstream/opensuse-tumbleweed/man3/pthread_yield.37
1 files changed, 3 insertions, 4 deletions
diff --git a/upstream/opensuse-tumbleweed/man3/pthread_yield.3 b/upstream/opensuse-tumbleweed/man3/pthread_yield.3
index 95bb580f..14ff6b55 100644
--- a/upstream/opensuse-tumbleweed/man3/pthread_yield.3
+++ b/upstream/opensuse-tumbleweed/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 2024-05-02 "Linux man-pages (unreleased)"
.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).