diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-05-03 09:23:17 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-05-03 09:23:44 +0200 |
commit | c2fd60a5861efef48252f5cc7efc70e1d8a0da9a (patch) | |
tree | 73039b111fb8f291dfcd4cc91b9f037f82ceda93 /nptl/Makefile | |
parent | 0505ae4e3b6d18b7ed1ec4c9b2d7e890acadec93 (diff) | |
download | glibc-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 'nptl/Makefile')
-rw-r--r-- | nptl/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/Makefile b/nptl/Makefile index e3f9a2053a..38f2715c2c 100644 --- a/nptl/Makefile +++ b/nptl/Makefile @@ -148,6 +148,7 @@ routines = \ pthread_spin_lock \ pthread_spin_trylock \ pthread_spin_unlock \ + pthread_yield \ tpp \ unwind \ @@ -201,7 +202,6 @@ libpthread-routines = \ pthread_testcancel \ pthread_timedjoin \ pthread_tryjoin \ - pthread_yield \ sem_clockwait \ sem_close \ sem_destroy \ |