]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
pthread_yield.3: SYNOPSIS: Mark as [[deprecated]]
authorAlejandro Colomar <alx.manpages@gmail.com>
Mon, 25 Oct 2021 19:31:30 +0000 (21:31 +0200)
committerAlejandro Colomar <alx.manpages@gmail.com>
Mon, 5 Sep 2022 01:01:30 +0000 (03:01 +0200)
sched_yield(3) is identical and is in POSIX.
See glibc commit c2fd60a5861efef48252f5cc7efc70e1d8a0da9a.

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
man3/pthread_yield.3

index e4dcf3cc6cc326242200345c1846341b7a6be309..44cf0f938b7450e62b57e6a063202a1de3eccd57 100644 (file)
@@ -13,7 +13,7 @@ POSIX threads library
 .BR "#define _GNU_SOURCE" "             /* See feature_test_macros(7) */"
 .B #include <pthread.h>
 .PP
-.B int pthread_yield(void);
+.B [[deprecated]] int pthread_yield(void);
 .fi
 .SH DESCRIPTION
 .BR Note :