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:22 +0200 |
commit | f44c9a24edf0dff4fd76562975533d58c1cd6dd4 (patch) | |
tree | 196eb57d4feb0faca29e34dbb413c76cb4c761b6 /nptl/Versions | |
parent | 17b67416c5ea65507c9b32aec1928afc88569eb2 (diff) | |
download | glibc-f44c9a24edf0dff4fd76562975533d58c1cd6dd4.zip glibc-f44c9a24edf0dff4fd76562975533d58c1cd6dd4.tar.gz glibc-f44c9a24edf0dff4fd76562975533d58c1cd6dd4.tar.bz2 |
nptl: Move mtx_init into libc
The symbol was moved using scripts/move-symbol-to-libc.py.
The calls to __pthread_mutex_init, __pthread_mutexattr_init,
__pthread_mutexattr_settype are now private and no longer need
to be exported. This allows the removal of the newly added
GLIBC_2.34 symbol versions for those functions.
Also clean up some weak declarations in <libc-lockP.h> for
these functions. They are not needed and potentially incorrect
for static linking of mtx_init.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'nptl/Versions')
-rw-r--r-- | nptl/Versions | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/nptl/Versions b/nptl/Versions index 939bed9..ccba2ba 100644 --- a/nptl/Versions +++ b/nptl/Versions @@ -134,6 +134,7 @@ libc { cnd_timedwait; cnd_wait; mtx_destroy; + mtx_init; thrd_current; thrd_equal; thrd_sleep; @@ -155,11 +156,8 @@ libc { __pthread_cleanup_routine; __pthread_getspecific; __pthread_key_create; - __pthread_mutex_init; __pthread_mutex_lock; __pthread_mutex_unlock; - __pthread_mutexattr_init; - __pthread_mutexattr_settype; __pthread_setspecific; call_once; cnd_broadcast; @@ -169,6 +167,7 @@ libc { cnd_timedwait; cnd_wait; mtx_destroy; + mtx_init; pthread_cond_clockwait; pthread_condattr_getclock; pthread_condattr_getpshared; @@ -381,7 +380,6 @@ libpthread { # C11 thread symbols. GLIBC_2.28 { - mtx_init; mtx_lock; mtx_timedlock; mtx_trylock; |