diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-05-03 08:12:11 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-05-03 08:15:58 +0200 |
commit | 08970190fc225b319ba456f621a62a50858fa0f6 (patch) | |
tree | d926adc67470162c0b933270987f08c37b1ff7fd /sysdeps/pthread/Makefile | |
parent | 032a9e17a7201765228262b9b6731839dcfdf885 (diff) | |
download | glibc-08970190fc225b319ba456f621a62a50858fa0f6.tar glibc-08970190fc225b319ba456f621a62a50858fa0f6.tar.gz glibc-08970190fc225b319ba456f621a62a50858fa0f6.tar.bz2 glibc-08970190fc225b319ba456f621a62a50858fa0f6.zip |
nptl: Move mtx_trylock into libc
The symbol was moved using scripts/move-symbol-to-libc.py.
The __pthread_mutex_trylock@@GLIBC_2.34 symbol version is no longer
needed because the call is now internal to libc, so remove it with
this commit.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'sysdeps/pthread/Makefile')
-rw-r--r-- | sysdeps/pthread/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/pthread/Makefile b/sysdeps/pthread/Makefile index 73ee8abdca..dbff46dd45 100644 --- a/sysdeps/pthread/Makefile +++ b/sysdeps/pthread/Makefile @@ -32,7 +32,7 @@ headers += threads.h routines += thrd_current thrd_equal thrd_sleep thrd_yield libpthread-routines += thrd_create thrd_detach thrd_exit thrd_join \ - mtx_trylock mtx_unlock \ + mtx_unlock \ tss_create tss_delete tss_get tss_set $(libpthread-routines-var) += \ @@ -47,6 +47,7 @@ $(libpthread-routines-var) += \ mtx_init \ mtx_lock \ mtx_timedlock \ + mtx_trylock \ tests += tst-cnd-basic tst-mtx-trylock tst-cnd-broadcast \ tst-cnd-timedwait tst-thrd-detach tst-mtx-basic tst-thrd-sleep \ |