Home
last modified time | relevance | path

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

/xnu-12377.61.12/osfmk/tests/
H A Dtest_thread_call.c41 lck_mtx_t test_lock; variable
64 lck_mtx_lock(&test_lock); in test_once_callback()
73 kr = lck_mtx_sleep_deadline(&test_lock, LCK_SLEEP_DEFAULT, &wait_for_main, THREAD_UNINT, deadline); in test_once_callback()
76 lck_mtx_unlock(&test_lock); in test_once_callback()
86 lck_mtx_init(&test_lock, &test_lock_grp, LCK_ATTR_NULL); in test_once_thread_call()
96 lck_mtx_lock(&test_lock); in test_once_thread_call()
105 …kr = lck_mtx_sleep_deadline(&test_lock, LCK_SLEEP_DEFAULT, &wait_for_callback, THREAD_UNINT, deadl… in test_once_thread_call()
108 lck_mtx_unlock(&test_lock); in test_once_thread_call()
/xnu-12377.61.12/osfmk/kern/
H A Depoch_sync.c637 test_lock(uint64_t *lock) in test_lock() function
709 test_lock(&test_mutex); in test_lock_unlock()
/xnu-12377.61.12/osfmk/conf/
H A Dfiles198 osfmk/kern/test_lock.c optional development
199 osfmk/kern/test_lock.c optional debug
H A DMakefile.template399 test_lock.o_CWARNFLAGS_ADD += -Wno-sign-conversion