Home
last modified time | relevance | path

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

/src/contrib/unbound/testcode/
H A Dchecklocks.c64 static ub_thread_key_type thr_debug_key; variable
302 thr_debug_key); in checklock_init()
312 thr = (struct thr_check*)pthread_getspecific(thr_debug_key); in checklock_init()
472 thr_debug_key); in checklock_lockit()
625 thr = (struct thr_check*)pthread_getspecific(thr_debug_key); in checklock_unlock()
740 LOCKRET(pthread_setspecific(thr_debug_key, thr)); in checklock_main()
764 LOCKRET(pthread_key_create(&thr_debug_key, NULL)); in checklock_start()
765 LOCKRET(pthread_setspecific(thr_debug_key, thisthr)); in checklock_start()
785 LOCKRET(pthread_key_delete(thr_debug_key)); in checklock_stop()