mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-24 14:00:30 +00:00
htl: Add missing functions and defines for robust mutexes
This commit is contained in:
parent
ca843defbc
commit
6c43d94a96
@ -150,6 +150,11 @@ libpthread {
|
||||
call_once;
|
||||
cnd_broadcast; cnd_destroy; cnd_init; cnd_signal; cnd_timedwait; cnd_wait;
|
||||
tss_create; tss_delete; tss_get; tss_set;
|
||||
|
||||
pthread_mutexattr_getrobust; pthread_mutexattr_getrobust_np;
|
||||
pthread_mutexattr_setrobust; pthread_mutexattr_setrobust_np;
|
||||
|
||||
pthread_mutex_consistent; pthread_mutex_consistent_np;
|
||||
}
|
||||
|
||||
GLIBC_PRIVATE {
|
||||
|
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user