Searched refs:test_global_lock (Results 1 – 1 of 1) sorted by relevance
52 static struct mtx test_global_lock; variable76 mtx_lock(&test_global_lock); in thr_suspender()79 mtx_unlock(&test_global_lock); in thr_suspender()100 mtx_lock(&test_global_lock); in thr_resumer()103 mtx_unlock(&test_global_lock); in thr_resumer()117 mtx_lock(&test_global_lock); in thr_getsuspended()120 mtx_unlock(&test_global_lock); in thr_getsuspended()134 mtx_init(&test_global_lock, "kthrdlk_lock", NULL, MTX_DEF); in kthrdlk_init()159 mtx_lock(&test_global_lock); in kthrdlk_done()162 ret = mtx_sleep(&global_condvar, &test_global_lock, 0, "waiting thrs end", 30 * hz); in kthrdlk_done()[all …]