Home
last modified time | relevance | path

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

/openbsd-src/usr.sbin/unbound/testcode/
H A Dchecklocks.c64 static ub_thread_key_type thr_debug_key; variable
289 thr_debug_key); in checklock_init()
299 thr = (struct thr_check*)pthread_getspecific(thr_debug_key); in checklock_init()
459 thr_debug_key); in checklock_lockit()
612 thr = (struct thr_check*)pthread_getspecific(thr_debug_key); in checklock_unlock()
711 LOCKRET(pthread_setspecific(thr_debug_key, thr)); in checklock_main()
734 LOCKRET(pthread_key_create(&thr_debug_key, NULL)); in checklock_start()
735 LOCKRET(pthread_setspecific(thr_debug_key, thisthr)); in checklock_start()
755 LOCKRET(pthread_key_delete(thr_debug_key)); in checklock_stop()