Updated to fedora-glibc-20090427T1419
[glibc/history.git] / nptl / sysdeps / unix / sysv / linux / pthread_mutex_cond_lock.c
blobb417da5e22de442f66b56e4ff0a7c9a0c583a087
1 #include <pthreadP.h>
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
12 #define NO_INCR
14 #include <nptl/pthread_mutex_lock.c>