Home
last modified time | relevance | path

Searched refs:LOCKRET (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/unbound/util/
H A Dlocks.h60 #ifndef LOCKRET
67 #define LOCKRET(func) do {\ macro
101 #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 …]
H A Dlocks.c149 LOCKRET(thr_getspecific(key, &ret)); in ub_thread_key_get()
/freebsd/contrib/unbound/compat/
H A Darc4_lock.c35 #define LOCKRET(func) func macro