]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
htl: move pthread_mutex_{lock, unlock, trylock, timedlock, clocklock}
authorgfleury <gfleury@disroot.org>
Fri, 3 Jan 2025 10:37:46 +0000 (12:37 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 29 Jan 2025 01:32:36 +0000 (02:32 +0100)
I haven't exposed _pthread_mutex_lock,  _pthread_mutex_trylock and
_pthread_mutex_unlock in GLIBC_PRIVATE since there aren't used in any
code in libpthread
Message-ID: <20250103103750.870897-3-gfleury@disroot.org>

18 files changed:
htl/Makefile
htl/Versions
htl/forward.c
htl/pt-initialize.c
hurd/hurdlock.c
hurd/hurdlock.h
sysdeps/htl/libc-lockP.h
sysdeps/htl/pthread-functions.h
sysdeps/htl/pthreadP.h
sysdeps/htl/timer_routines.c
sysdeps/mach/hurd/htl/pt-mutex-lock.c
sysdeps/mach/hurd/htl/pt-mutex-timedlock.c
sysdeps/mach/hurd/htl/pt-mutex-trylock.c
sysdeps/mach/hurd/htl/pt-mutex-unlock.c
sysdeps/mach/hurd/i386/libc.abilist
sysdeps/mach/hurd/i386/libpthread.abilist
sysdeps/mach/hurd/x86_64/libc.abilist
sysdeps/mach/hurd/x86_64/libpthread.abilist

index f381499ff71eae5a6d1cf4905c360d2995184e85..0d3e78dee56d6e18614de68e8564de628ce30bd7 100644 (file)
@@ -55,10 +55,6 @@ libpthread-routines := \
   pt-testcancel \
   pt-cancel \
   pt-mutex-destroy \
-  pt-mutex-lock \
-  pt-mutex-trylock \
-  pt-mutex-timedlock \
-  pt-mutex-unlock \
   pt-mutex-transfer-np \
   pt-mutex-getprioceiling \
   pt-mutex-setprioceiling \
@@ -189,6 +185,10 @@ routines := \
   pt-getschedparam \
   pt-mutex-checklocked \
   pt-mutex-init \
+  pt-mutex-lock \
+  pt-mutex-timedlock \
+  pt-mutex-trylock \
+  pt-mutex-unlock \
   pt-mutexattr-destroy \
   pt-mutexattr-getprioceiling \
   pt-mutexattr-getprotocol \
index caa5653e6cb80a4350d34650864d4eab6609f141..757cefef61f71f84c3bd9a4ceb78a8f32a79a245 100644 (file)
@@ -39,6 +39,10 @@ libc {
     pthread_condattr_setclock;
     pthread_condattr_setpshared;
     pthread_mutex_init;
+    pthread_mutex_lock;
+    pthread_mutex_timedlock;
+    pthread_mutex_trylock;
+    pthread_mutex_unlock;
     pthread_mutexattr_destroy;
     pthread_mutexattr_getprioceiling;
     pthread_mutexattr_getprotocol;
@@ -66,7 +70,7 @@ libc {
     pthread_equal;
     pthread_exit; pthread_getschedparam; pthread_setschedparam;
     pthread_mutex_destroy; pthread_mutex_init;
-    pthread_mutex_lock; pthread_mutex_trylock; pthread_mutex_unlock;
+    pthread_mutex_lock; pthread_mutex_unlock;
     pthread_self; pthread_setcancelstate; pthread_setcanceltype;
     __pthread_get_cleanup_stack;
   }
@@ -80,6 +84,8 @@ libc {
 
     pthread_cond_clockwait;
 
+    pthread_mutex_clocklock;
+
     pthread_mutexattr_getrobust; pthread_mutexattr_getrobust_np;
     pthread_mutexattr_setrobust; pthread_mutexattr_setrobust_np;
   }
@@ -110,6 +116,9 @@ libc {
     pthread_sigmask;
   }
 
+  GLIBC_2.42 {
+    pthread_mutex_trylock;
+  }
 
   GLIBC_PRIVATE {
     __libc_alloca_cutoff;
@@ -139,6 +148,10 @@ libc {
     __pthread_default_condattr;
     __pthread_mutex_checklocked;
     __pthread_mutex_init;
+    __pthread_mutex_lock;
+    __pthread_mutex_timedlock;
+    __pthread_mutex_trylock;
+    __pthread_mutex_unlock;
     __pthread_mutexattr_destroy;
     __pthread_mutexattr_init;
     __pthread_mutexattr_settype;
@@ -198,9 +211,8 @@ libpthread {
     __pthread_kill;
 
     pthread_mutex_destroy; pthread_mutex_getprioceiling;
-    pthread_mutex_lock; pthread_mutex_setprioceiling;
-    pthread_mutex_timedlock; pthread_mutex_transfer_np;
-    pthread_mutex_trylock; pthread_mutex_unlock;
+    pthread_mutex_setprioceiling;
+    pthread_mutex_transfer_np;
 
     pthread_once;
 
@@ -242,7 +254,6 @@ libpthread {
     tss_create; tss_delete; tss_get; tss_set;
 
     pthread_mutex_consistent; pthread_mutex_consistent_np;
-    pthread_mutex_clocklock;
 
     pthread_rwlock_clockrdlock; pthread_rwlock_clockwrlock;
 
@@ -270,12 +281,8 @@ libpthread {
     __pthread_setspecific;
     __pthread_getattr_np;
     __pthread_mutex_destroy;
-    __pthread_mutex_timedlock;
     __pthread_enable_asynccancel;
     __pthread_disable_asynccancel;
-
-    __pthread_mutex_lock; __pthread_mutex_trylock; __pthread_mutex_unlock;
-    _pthread_mutex_lock; _pthread_mutex_trylock; _pthread_mutex_unlock;
     _pthread_rwlock_destroy; _pthread_rwlock_init;
   }
 }
index e78637567f00e3ed544e00221869b1a49ef2f50d..b71099b82b53ed77d251be67fdb9214c93ad08ac 100644 (file)
@@ -60,10 +60,6 @@ strong_alias (__pthread_exit, pthread_exit);
 
 FORWARD (pthread_mutex_destroy, (pthread_mutex_t *mutex), (mutex), 0)
 
-FORWARD (pthread_mutex_lock, (pthread_mutex_t *mutex), (mutex), 0)
-
-FORWARD (pthread_mutex_unlock, (pthread_mutex_t *mutex), (mutex), 0)
-
 FORWARD (__pthread_setcancelstate, (int state, int *oldstate),
         (state, oldstate), 0)
 strong_alias (__pthread_setcancelstate, pthread_setcancelstate);
index 606a085dd030b896c1ca0f0f9d11d5fadd3bba76..b8f8c95ce3dd9f2563a2b89d8f83cddc4ebc545b 100644 (file)
@@ -29,9 +29,6 @@
 static const struct pthread_functions pthread_functions = {
   .ptr___pthread_exit = __pthread_exit,
   .ptr_pthread_mutex_destroy = __pthread_mutex_destroy,
-  .ptr_pthread_mutex_lock = __pthread_mutex_lock,
-  .ptr_pthread_mutex_trylock = __pthread_mutex_trylock,
-  .ptr_pthread_mutex_unlock = __pthread_mutex_unlock,
   .ptr___pthread_setcancelstate = __pthread_setcancelstate,
   .ptr_pthread_setcanceltype = __pthread_setcanceltype,
   .ptr___pthread_get_cleanup_stack = __pthread_get_cleanup_stack,
index 374e4d107ac0e42b1bdecb49d92d45a307c4dcff..c771662e84100676eb29f7d20b955478760ba6f1 100644 (file)
@@ -99,6 +99,7 @@ __lll_abstimed_lock (void *ptr,
         return ETIMEDOUT;
     }
 }
+libc_hidden_def (__lll_abstimed_lock)
 
 /* Robust locks.  */
 
@@ -157,6 +158,7 @@ __lll_robust_lock (void *ptr, int flags)
         }
     }
 }
+libc_hidden_def (__lll_robust_lock)
 
 int
 __lll_robust_abstimed_lock (void *ptr,
@@ -206,6 +208,7 @@ __lll_robust_abstimed_lock (void *ptr,
         }
     }
 }
+libc_hidden_def (__lll_robust_abstimed_lock)
 
 int
 __lll_robust_trylock (void *ptr)
@@ -225,6 +228,7 @@ __lll_robust_trylock (void *ptr)
 
   return EBUSY;
 }
+libc_hidden_def (__lll_robust_trylock)
 
 void
 __lll_robust_unlock (void *ptr, int flags)
@@ -241,3 +245,5 @@ __lll_robust_unlock (void *ptr, int flags)
         break;
     }
 }
+
+libc_hidden_def (__lll_robust_unlock)
index c013c5994c853ed4180a38d22f1b7b98d0aa2f11..0cfccc562c5611192d7cf8ffbc3b586842d12299 100644 (file)
@@ -68,23 +68,27 @@ extern int __lll_abstimed_xwait (void *__ptr, int __lo, int __hi,
    using clock CLK.  */
 extern int __lll_abstimed_lock (void *__ptr,
   const struct timespec *__tsp, int __flags, int __clk);
+libc_hidden_proto (__lll_abstimed_lock)
 
 /* Acquire the lock at PTR, but return with an error if
    the process containing the owner thread dies.  */
 extern int __lll_robust_lock (void *__ptr, int __flags);
 #define lll_robust_lock(var, flags) \
   __lll_robust_lock (&(var), flags)
+libc_hidden_proto (__lll_robust_lock)
 
 /* Same as '__lll_robust_lock', but only block until TSP
    elapses, using clock CLK.  */
 extern int __lll_robust_abstimed_lock (void *__ptr,
   const struct timespec *__tsp, int __flags, int __clk);
+libc_hidden_proto (__lll_robust_abstimed_lock)
 
 /* Same as '__lll_robust_lock', but return with an error
    if the lock cannot be acquired without blocking.  */
 extern int __lll_robust_trylock (void *__ptr);
 #define lll_robust_trylock(var) \
   __lll_robust_trylock (&(var))
+libc_hidden_proto (__lll_robust_trylock)
 
 /* Wake one or more threads waiting on address PTR,
    setting its value to VAL before doing so.  */
@@ -96,6 +100,7 @@ extern int __lll_robust_trylock (void *__ptr);
 extern void __lll_robust_unlock (void *__ptr, int __flags);
 #define lll_robust_unlock(var, flags) \
   __lll_robust_unlock (&(var), flags)
+libc_hidden_proto (__lll_robust_unlock)
 
 /* Rearrange threads waiting on address SRC to instead wait on
    DST, waking one of them if WAIT_ONE is non-zero.  */
index 6c13382a21a389391dc49016252ca49e3fb52fba..3d74cd87e93e21583f0e38960b6d7aff85573aae 100644 (file)
@@ -118,9 +118,6 @@ extern int __pthread_atfork (void (*__prepare) (void),
 #if !defined(__NO_WEAK_PTHREAD_ALIASES) && !IS_IN (libpthread)
 # ifdef weak_extern
 weak_extern (__pthread_mutex_destroy)
-weak_extern (__pthread_mutex_lock)
-weak_extern (__pthread_mutex_trylock)
-weak_extern (__pthread_mutex_unlock)
 weak_extern (__pthread_rwlock_init)
 weak_extern (__pthread_rwlock_destroy)
 weak_extern (__pthread_rwlock_rdlock)
@@ -137,9 +134,6 @@ weak_extern (__pthread_atfork)
 weak_extern (__pthread_setcancelstate)
 # else
 #  pragma weak __pthread_mutex_destroy
-#  pragma weak __pthread_mutex_lock
-#  pragma weak __pthread_mutex_trylock
-#  pragma weak __pthread_mutex_unlock
 #  pragma weak __pthread_rwlock_destroy
 #  pragma weak __pthread_rwlock_rdlock
 #  pragma weak __pthread_rwlock_tryrdlock
index 54b773344dacd6de3e81ee1ed8d0f2d555decb54..c44c9038f355a7f390e3d9afafe7c29c49bf7e90 100644 (file)
@@ -23,9 +23,6 @@
 
 void __pthread_exit (void *) __attribute__ ((__noreturn__));
 int _pthread_mutex_destroy (pthread_mutex_t *);
-int __pthread_mutex_lock (pthread_mutex_t *);
-int __pthread_mutex_trylock (pthread_mutex_t *);
-int __pthread_mutex_unlock (pthread_mutex_t *);
 int __pthread_setcancelstate (int, int *);
 int __pthread_setcanceltype (int, int *);
 struct __pthread_cancelation_handler **__pthread_get_cleanup_stack (void);
@@ -48,9 +45,6 @@ struct pthread_functions
 {
   void (*ptr___pthread_exit) (void *) __attribute__ ((__noreturn__));
   int (*ptr_pthread_mutex_destroy) (pthread_mutex_t *);
-  int (*ptr_pthread_mutex_lock) (pthread_mutex_t *);
-  int (*ptr_pthread_mutex_trylock) (pthread_mutex_t *);
-  int (*ptr_pthread_mutex_unlock) (pthread_mutex_t *);
   int (*ptr___pthread_setcancelstate) (int, int *);
   int (*ptr_pthread_setcanceltype) (int, int *);
   struct __pthread_cancelation_handler **(*ptr___pthread_get_cleanup_stack) (void);
index bb17391cb3df55d6f043c696e8dfc29264c6ead3..a2a0a932b7820a730d9bc58a6feeb85470bf7cd1 100644 (file)
@@ -33,12 +33,19 @@ extern void __pthread_init_static_tls (struct link_map *) attribute_hidden;
 
 extern int __pthread_mutex_init (pthread_mutex_t *__mutex, const pthread_mutexattr_t *__attr);
 libc_hidden_proto (__pthread_mutex_init)
+extern int __pthread_mutex_clocklock (pthread_mutex_t *__mutex, clockid_t __clockid,
+                                   const struct timespec *__abstime);
+libc_hidden_proto (__pthread_mutex_clocklock)
 extern int __pthread_mutex_destroy (pthread_mutex_t *__mutex);
 extern int __pthread_mutex_lock (pthread_mutex_t *__mutex);
+libc_hidden_proto (__pthread_mutex_lock)
 extern int __pthread_mutex_trylock (pthread_mutex_t *_mutex);
+libc_hidden_proto (__pthread_mutex_trylock)
 extern int __pthread_mutex_timedlock (pthread_mutex_t *__mutex,
      const struct timespec *__abstime);
+libc_hidden_proto (__pthread_mutex_timedlock)
 extern int __pthread_mutex_unlock (pthread_mutex_t *__mutex);
+libc_hidden_proto (__pthread_mutex_unlock)
 extern int __pthread_mutexattr_getpshared(const pthread_mutexattr_t *__restrict __attr,
                                        int *__restrict __pshared);
 libc_hidden_proto (__pthread_mutexattr_getpshared)
@@ -164,10 +171,6 @@ hidden_proto (__pthread_key_create)
 hidden_proto (__pthread_getspecific)
 hidden_proto (__pthread_setspecific)
 hidden_proto (__pthread_mutex_destroy)
-hidden_proto (__pthread_mutex_lock)
-hidden_proto (__pthread_mutex_trylock)
-hidden_proto (__pthread_mutex_unlock)
-hidden_proto (__pthread_mutex_timedlock)
 hidden_proto (__pthread_get_cleanup_stack)
 #endif
 
index 2039e0ba2ec7134798a547f9d155196e2fbc3308..d6ee65d69b5972ca94a0d29a6e8d367afd9ff8d5 100644 (file)
@@ -265,7 +265,7 @@ thread_cleanup (void *val)
       /* How did the signal thread get killed?  */
       assert (thread != &__timer_signal_thread_rclk);
 
-      pthread_mutex_lock (&__timer_mutex);
+      __pthread_mutex_lock (&__timer_mutex);
 
       thread->exists = 0;
 
@@ -277,7 +277,7 @@ thread_cleanup (void *val)
       else
        (void) __timer_thread_start (thread);
 
-      pthread_mutex_unlock (&__timer_mutex);
+      __pthread_mutex_unlock (&__timer_mutex);
 
       /* Unblock potentially blocked timer_delete().  */
       __pthread_cond_broadcast (&thread->cond);
@@ -291,7 +291,7 @@ thread_expire_timer (struct thread_node *self, struct timer_node *timer)
 {
   self->current_timer = timer; /* Lets timer_delete know timer is running. */
 
-  pthread_mutex_unlock (&__timer_mutex);
+  __pthread_mutex_unlock (&__timer_mutex);
 
   switch (__builtin_expect (timer->event.sigev_notify, SIGEV_SIGNAL))
     {
@@ -334,7 +334,7 @@ thread_expire_timer (struct thread_node *self, struct timer_node *timer)
       break;
     }
 
-  pthread_mutex_lock (&__timer_mutex);
+  __pthread_mutex_lock (&__timer_mutex);
 
   self->current_timer = 0;
 
@@ -358,7 +358,7 @@ thread_func (void *arg)
 
   pthread_cleanup_push (thread_cleanup, self);
 
-  pthread_mutex_lock (&__timer_mutex);
+  __pthread_mutex_lock (&__timer_mutex);
 
   while (1)
     {
@@ -550,5 +550,5 @@ __timer_dealloc (struct timer_node *timer)
 void
 __timer_mutex_cancel_handler (void *arg)
 {
-  pthread_mutex_unlock (arg);
+  __pthread_mutex_unlock (arg);
 }
index e1e40d8db596b986b4fef6b19edebc82f93a53ce..7d93ddd660ddab51793217a95a1e8bba6ff032e1 100644 (file)
    License along with the GNU C Library;  if not, see
    <https://www.gnu.org/licenses/>.  */
 
-#include <pthread.h>
+#include <pthreadP.h>
 #include <stdlib.h>
 #include <assert.h>
 #include <pt-internal.h>
 #include "pt-mutex.h"
 #include <hurdlock.h>
 #include <unistd.h>
+#include <shlib-compat.h>
 
 int
 __pthread_mutex_lock (pthread_mutex_t *mtxp)
@@ -76,7 +77,9 @@ __pthread_mutex_lock (pthread_mutex_t *mtxp)
 
   return ret;
 }
+libc_hidden_def (__pthread_mutex_lock)
+versioned_symbol (libc, __pthread_mutex_lock, pthread_mutex_lock, GLIBC_2_21);
 
-hidden_def (__pthread_mutex_lock)
-strong_alias (__pthread_mutex_lock, _pthread_mutex_lock)
-weak_alias (__pthread_mutex_lock, pthread_mutex_lock)
+#if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_12, GLIBC_2_21)
+compat_symbol (libc, __pthread_mutex_lock, pthread_mutex_lock, GLIBC_2_12);
+#endif
index 71ce28a3197f8c88f49ce7110954ed7d4b2f5750..90fa407e9985e53a29649fdcd5a1196257f9ef83 100644 (file)
@@ -16,7 +16,7 @@
    License along with the GNU C Library;  if not, see
    <https://www.gnu.org/licenses/>.  */
 
-#include <pthread.h>
+#include <pthreadP.h>
 #include <stdlib.h>
 #include <assert.h>
 #include <pt-internal.h>
@@ -79,6 +79,7 @@ __pthread_mutex_clocklock (pthread_mutex_t *mtxp,
 
   return ret;
 }
+libc_hidden_def (__pthread_mutex_clocklock)
 weak_alias (__pthread_mutex_clocklock, pthread_mutex_clocklock)
 
 int
@@ -87,5 +88,5 @@ __pthread_mutex_timedlock (pthread_mutex_t *mutex,
 {
   return __pthread_mutex_clocklock (mutex, CLOCK_REALTIME, tsp);
 }
+libc_hidden_def (__pthread_mutex_timedlock)
 weak_alias (__pthread_mutex_timedlock, pthread_mutex_timedlock)
-hidden_def (__pthread_mutex_timedlock)
index 54359212312665b7a1e3578c7c8551df48a24a94..f1b451e803bbd4e8c23ba2218c161e6efc30a7d3 100644 (file)
    License along with the GNU C Library;  if not, see
    <https://www.gnu.org/licenses/>.  */
 
-#include <pthread.h>
+#include <pthreadP.h>
 #include <stdlib.h>
 #include <assert.h>
 #include <pt-internal.h>
 #include "pt-mutex.h"
 #include <hurdlock.h>
 #include <unistd.h>
+#include <shlib-compat.h>
 
 int
 __pthread_mutex_trylock (pthread_mutex_t *mtxp)
@@ -80,7 +81,9 @@ __pthread_mutex_trylock (pthread_mutex_t *mtxp)
 
   return ret;
 }
+libc_hidden_def (__pthread_mutex_trylock)
+versioned_symbol (libc, __pthread_mutex_trylock, pthread_mutex_trylock, GLIBC_2_42);
 
-hidden_def (__pthread_mutex_trylock)
-strong_alias (__pthread_mutex_trylock, _pthread_mutex_trylock)
-weak_alias (__pthread_mutex_trylock, pthread_mutex_trylock)
+#if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_12, GLIBC_2_42)
+compat_symbol (libc, __pthread_mutex_trylock, pthread_mutex_trylock, GLIBC_2_12);
+#endif
index b1404161634b45c9c649223e1b90ef7cf84f0ef3..1732c34136b4b9da4edec7f474e212cfc61e9702 100644 (file)
    License along with the GNU C Library;  if not, see
    <https://www.gnu.org/licenses/>.  */
 
-#include <pthread.h>
+#include <pthreadP.h>
 #include <stdlib.h>
 #include <assert.h>
 #include <pt-internal.h>
 #include "pt-mutex.h"
 #include <hurdlock.h>
 #include <unistd.h>
+#include <shlib-compat.h>
 
 int
 __pthread_mutex_unlock (pthread_mutex_t *mtxp)
@@ -87,7 +88,9 @@ __pthread_mutex_unlock (pthread_mutex_t *mtxp)
 
   return ret;
 }
+libc_hidden_def (__pthread_mutex_unlock)
+versioned_symbol (libc, __pthread_mutex_unlock, pthread_mutex_unlock, GLIBC_2_21);
 
-hidden_def (__pthread_mutex_unlock)
-strong_alias (__pthread_mutex_unlock, _pthread_mutex_unlock)
-weak_alias (__pthread_mutex_unlock, pthread_mutex_unlock)
+#if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_12, GLIBC_2_21)
+compat_symbol (libc, __pthread_mutex_unlock, pthread_mutex_unlock, GLIBC_2_12);
+#endif
index e9559bd265fe3a7214ebca3357962b5d56a2add5..aba93a281b41e8920ade65e76e3df5c1d3c03f5e 100644 (file)
@@ -64,6 +64,10 @@ GLIBC_2.12 pthread_condattr_setpshared F
 GLIBC_2.12 pthread_equal F
 GLIBC_2.12 pthread_getschedparam F
 GLIBC_2.12 pthread_mutex_init F
+GLIBC_2.12 pthread_mutex_lock F
+GLIBC_2.12 pthread_mutex_timedlock F
+GLIBC_2.12 pthread_mutex_trylock F
+GLIBC_2.12 pthread_mutex_unlock F
 GLIBC_2.12 pthread_mutexattr_destroy F
 GLIBC_2.12 pthread_mutexattr_getprioceiling F
 GLIBC_2.12 pthread_mutexattr_getprotocol F
@@ -2264,6 +2268,7 @@ GLIBC_2.32 __libc_single_threaded D 0x1
 GLIBC_2.32 mach_print F
 GLIBC_2.32 mremap F
 GLIBC_2.32 pthread_cond_clockwait F
+GLIBC_2.32 pthread_mutex_clocklock F
 GLIBC_2.32 pthread_mutexattr_getrobust F
 GLIBC_2.32 pthread_mutexattr_getrobust_np F
 GLIBC_2.32 pthread_mutexattr_setrobust F
@@ -2549,6 +2554,7 @@ GLIBC_2.41 pthread_mutexattr_setrobust F
 GLIBC_2.41 pthread_mutexattr_setrobust_np F
 GLIBC_2.41 pthread_mutexattr_settype F
 GLIBC_2.41 pthread_sigmask F
+GLIBC_2.42 pthread_mutex_trylock F
 GLIBC_2.5 __readlinkat_chk F
 GLIBC_2.5 inet6_opt_append F
 GLIBC_2.5 inet6_opt_find F
index 6b330744bb364ea890c351e76c1f26b71af7af73..8c53b8d0eea2c936c32c0bf4b8ffac1ff10128f9 100644 (file)
@@ -43,12 +43,8 @@ GLIBC_2.12 pthread_key_delete F
 GLIBC_2.12 pthread_kill F
 GLIBC_2.12 pthread_mutex_destroy F
 GLIBC_2.12 pthread_mutex_getprioceiling F
-GLIBC_2.12 pthread_mutex_lock F
 GLIBC_2.12 pthread_mutex_setprioceiling F
-GLIBC_2.12 pthread_mutex_timedlock F
 GLIBC_2.12 pthread_mutex_transfer_np F
-GLIBC_2.12 pthread_mutex_trylock F
-GLIBC_2.12 pthread_mutex_unlock F
 GLIBC_2.12 pthread_once F
 GLIBC_2.12 pthread_rwlock_destroy F
 GLIBC_2.12 pthread_rwlock_init F
@@ -106,7 +102,6 @@ GLIBC_2.32 mtx_timedlock F
 GLIBC_2.32 mtx_trylock F
 GLIBC_2.32 mtx_unlock F
 GLIBC_2.32 pthread_clockjoin_np F
-GLIBC_2.32 pthread_mutex_clocklock F
 GLIBC_2.32 pthread_mutex_consistent F
 GLIBC_2.32 pthread_mutex_consistent_np F
 GLIBC_2.32 pthread_rwlock_clockrdlock F
index aaf55cbaf4e92e2bd1a0bba7cd0e3ed0d754f6d2..2251371451ffdcc22322a4b541f7d09a99886d86 100644 (file)
@@ -1547,9 +1547,12 @@ GLIBC_2.38 pthread_condattr_setpshared F
 GLIBC_2.38 pthread_equal F
 GLIBC_2.38 pthread_exit F
 GLIBC_2.38 pthread_getschedparam F
+GLIBC_2.38 pthread_mutex_clocklock F
 GLIBC_2.38 pthread_mutex_destroy F
 GLIBC_2.38 pthread_mutex_init F
 GLIBC_2.38 pthread_mutex_lock F
+GLIBC_2.38 pthread_mutex_timedlock F
+GLIBC_2.38 pthread_mutex_trylock F
 GLIBC_2.38 pthread_mutex_unlock F
 GLIBC_2.38 pthread_mutexattr_destroy F
 GLIBC_2.38 pthread_mutexattr_getprioceiling F
@@ -2237,6 +2240,7 @@ GLIBC_2.41 pthread_mutexattr_setrobust F
 GLIBC_2.41 pthread_mutexattr_setrobust_np F
 GLIBC_2.41 pthread_mutexattr_settype F
 GLIBC_2.41 pthread_sigmask F
+GLIBC_2.42 pthread_mutex_trylock F
 HURD_CTHREADS_0.3 __cthread_getspecific F
 HURD_CTHREADS_0.3 __cthread_keycreate F
 HURD_CTHREADS_0.3 __cthread_setspecific F
index 047d685a78c40ce2ffdc3d44b292571814182a9d..bd5e12adcc5102e22b817044d481f26cbc54cadd 100644 (file)
@@ -61,17 +61,12 @@ GLIBC_2.38 pthread_join F
 GLIBC_2.38 pthread_key_create F
 GLIBC_2.38 pthread_key_delete F
 GLIBC_2.38 pthread_kill F
-GLIBC_2.38 pthread_mutex_clocklock F
 GLIBC_2.38 pthread_mutex_consistent F
 GLIBC_2.38 pthread_mutex_consistent_np F
 GLIBC_2.38 pthread_mutex_destroy F
 GLIBC_2.38 pthread_mutex_getprioceiling F
-GLIBC_2.38 pthread_mutex_lock F
 GLIBC_2.38 pthread_mutex_setprioceiling F
-GLIBC_2.38 pthread_mutex_timedlock F
 GLIBC_2.38 pthread_mutex_transfer_np F
-GLIBC_2.38 pthread_mutex_trylock F
-GLIBC_2.38 pthread_mutex_unlock F
 GLIBC_2.38 pthread_once F
 GLIBC_2.38 pthread_rwlock_clockrdlock F
 GLIBC_2.38 pthread_rwlock_clockwrlock F