Searched refs:LOCKRET (Results 1 – 3 of 3) sorted by relevance
60 #ifndef LOCKRET67 #define LOCKRET(func) do {\ macro101 #define lock_basic_init(lock) LOCKRET(pthread_mutex_init(lock, NULL))102 #define lock_basic_destroy(lock) LOCKRET(pthread_mutex_destroy(lock))103 #define lock_basic_lock(lock) LOCKRET(pthread_mutex_lock(lock))104 #define lock_basic_unlock(lock) LOCKRET(pthread_mutex_unlock(lock))109 #define lock_rw_init(lock) LOCKRET(pthread_mutex_init(lock, NULL))110 #define lock_rw_destroy(lock) LOCKRET(pthread_mutex_destroy(lock))111 #define lock_rw_rdlock(lock) LOCKRET(pthread_mutex_lock(lock))112 #define lock_rw_wrlock(lock) LOCKRET(pthread_mutex_lock(lock))[all …]
149 LOCKRET(thr_getspecific(key, &ret)); in ub_thread_key_get()
35 #define LOCKRET(func) func macro