HomeSort by: relevance | last modified time | path
    Searched refs:LOCKRET (Results 1 - 6 of 6) sorted by relevancy

  /src/external/bsd/unbound/dist/util/
locks.h 58 /* if you define your own LOCKRET before including locks.h, you can get most
60 #ifndef LOCKRET
67 #define LOCKRET(func) do {\
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)
    [all...]
locks.c 149 LOCKRET(thr_getspecific(key, &ret));
  /src/external/bsd/unbound/dist/compat/
arc4_lock.c 35 #define LOCKRET(func) func
  /src/tests/lib/libc/atomic/
t___sync_lock.c 60 #define LOCKRET 0
82 #define LOCKRET 0x1122334455667788
97 #define LOCKRET 0x1122334455667788
118 expres = (TYPE)LOCKRET; \
  /src/external/bsd/unbound/dist/testcode/
checklocks.c 172 LOCKRET(pthread_mutex_unlock(&lock->lock));
191 LOCKRET(pthread_mutex_unlock(&lock->lock));
197 LOCKRET(pthread_mutex_unlock(&lock->lock));
250 LOCKRET(pthread_mutex_unlock(&lock->lock));
325 LOCKRET(pthread_mutex_init(&e->lock, NULL));
328 LOCKRET(pthread_mutex_init(&e->u.mutex, NULL));
331 LOCKRET(pthread_spin_init(&e->u.spinlock, PTHREAD_PROCESS_PRIVATE));
334 LOCKRET(pthread_rwlock_init(&e->u.rwlock, NULL));
389 LOCKRET(pthread_mutex_unlock(&e->lock));
402 LOCKRET(pthread_mutex_destroy(&e->lock))
    [all...]
checklocks.h 360 #define ub_thread_key_create(key, f) LOCKRET(pthread_key_create(key, f))
361 #define ub_thread_key_set(key, v) LOCKRET(pthread_setspecific(key, v))

Completed in 15 milliseconds