3 #define LLL_MUTEX_LOCK(mutex) \
4 lll_cond_lock ((mutex)->__data.__lock, PTHREAD_MUTEX_PSHARED (mutex))
5 #define LLL_MUTEX_TRYLOCK(mutex) \
6 lll_cond_trylock ((mutex)->__data.__lock)
7 #define LLL_ROBUST_MUTEX_LOCK(mutex, id) \
8 lll_robust_cond_lock ((mutex)->__data.__lock, id, \
9 PTHREAD_ROBUST_MUTEX_PSHARED (mutex))
10 #define __pthread_mutex_lock __pthread_mutex_cond_lock
11 #define __pthread_mutex_lock_full __pthread_mutex_cond_lock_full
14 #include <pthread_mutex_lock.c>