Home
last modified time | relevance | path

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

/netbsd-src/external/bsd/unbound/dist/testcode/
H A Dchecklocks.c64 static ub_thread_key_type thr_debug_key; variable
278 thr_debug_key); in checklock_init()
288 thr = (struct thr_check*)pthread_getspecific(thr_debug_key); in checklock_init()
448 thr_debug_key); in checklock_lockit()
592 thr = (struct thr_check*)pthread_getspecific(thr_debug_key); in checklock_unlock()
687 LOCKRET(pthread_setspecific(thr_debug_key, thr)); in checklock_main()
710 LOCKRET(pthread_key_create(&thr_debug_key, NULL)); in checklock_start()
711 LOCKRET(pthread_setspecific(thr_debug_key, thisthr)); in checklock_start()
731 LOCKRET(pthread_key_delete(thr_debug_key)); in checklock_stop()