summaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2020-02-16 14:08:56 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-02-16 14:08:56 +0000
commit6c43d94a96a15b0655049b3d37055421fc6b7e3d (patch)
tree89dcbf1e18a1e2f0de39ac15fad819f123700b44 /sysdeps
parentca843defbcbd2dc95b9342189e5dc430e9bcb743 (diff)
downloadglibc-6c43d94a96a15b0655049b3d37055421fc6b7e3d.tar.gz
htl: Add missing functions and defines for robust mutexes
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/htl/pthread.h1
-rw-r--r--sysdeps/mach/hurd/i386/libpthread.abilist6
2 files changed, 7 insertions, 0 deletions
diff --git a/sysdeps/htl/pthread.h b/sysdeps/htl/pthread.h
index 17f82e7180..d639385eb3 100644
--- a/sysdeps/htl/pthread.h
+++ b/sysdeps/htl/pthread.h
@@ -273,6 +273,7 @@ extern pthread_t pthread_self (void) __THROW;
#ifdef __USE_XOPEN2K
# define PTHREAD_MUTEX_STALLED __PTHREAD_MUTEX_STALLED
# define PTHREAD_MUTEX_ROBUST __PTHREAD_MUTEX_ROBUST
+# define PTHREAD_MUTEX_ROBUST_NP __PTHREAD_MUTEX_ROBUST
#endif
#include <bits/types/struct___pthread_mutexattr.h>
diff --git a/sysdeps/mach/hurd/i386/libpthread.abilist b/sysdeps/mach/hurd/i386/libpthread.abilist
index 4a5e1fb750..6e75c90009 100644
--- a/sysdeps/mach/hurd/i386/libpthread.abilist
+++ b/sysdeps/mach/hurd/i386/libpthread.abilist
@@ -155,6 +155,12 @@ GLIBC_2.32 mtx_lock F
GLIBC_2.32 mtx_timedlock F
GLIBC_2.32 mtx_trylock F
GLIBC_2.32 mtx_unlock F
+GLIBC_2.32 pthread_mutex_consistent F
+GLIBC_2.32 pthread_mutex_consistent_np F
+GLIBC_2.32 pthread_mutexattr_getrobust F
+GLIBC_2.32 pthread_mutexattr_getrobust_np F
+GLIBC_2.32 pthread_mutexattr_setrobust F
+GLIBC_2.32 pthread_mutexattr_setrobust_np F
GLIBC_2.32 thrd_create F
GLIBC_2.32 thrd_detach F
GLIBC_2.32 thrd_exit F