about summary refs log tree commit diff
path: root/NEWS
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-05-03 09:23:17 +0200
committerFlorian Weimer <fweimer@redhat.com>2021-05-03 09:23:44 +0200
commitc2fd60a5861efef48252f5cc7efc70e1d8a0da9a (patch)
tree73039b111fb8f291dfcd4cc91b9f037f82ceda93 /NEWS
parent0505ae4e3b6d18b7ed1ec4c9b2d7e890acadec93 (diff)
downloadglibc-c2fd60a5861efef48252f5cc7efc70e1d8a0da9a.tar.gz
glibc-c2fd60a5861efef48252f5cc7efc70e1d8a0da9a.tar.xz
glibc-c2fd60a5861efef48252f5cc7efc70e1d8a0da9a.zip
nptl: Move pthread_yield into libc, as a compatibility symbol
And deprecate it in <pthread.h>, redirecting it to sched_yield
for the time being.

The symbol was moved using scripts/move-symbol-to-libc.py.

No GLIBC_2.34 symbol version is added because of the compatibility
symbol status.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 796990dc52..2a4f5a3e06 100644
--- a/NEWS
+++ b/NEWS
@@ -32,6 +32,9 @@ Deprecated and removed features, and other changes affecting compatibility:
   programs should use the equivalent standard function
   pthread_mutexattr_setrobust instead.
 
+* The function pthread_yield has been deprecated; programs should use
+  the equivalent standard function sched_yield instead.
+
 Changes to build and runtime requirements:
 
 * On Linux, the shm_open, sem_open, and related functions now expect the