Lines Matching refs:test_mtx
82 static pthread_mutex_t test_mtx = PTHREAD_MUTEX_INITIALIZER; /* protects the next 3 things */ variable
380 pthread_mutex_lock(&test_mtx); in cleanup_and_end_test()
382 pthread_mutex_unlock(&test_mtx); in cleanup_and_end_test()
386 pthread_mutex_unlock(&test_mtx); in cleanup_and_end_test()
406 pthread_mutex_lock(&test_mtx); in cleanup_and_end_test()
420 pthread_mutex_unlock(&test_mtx); in cleanup_and_end_test()
424 pthread_mutex_lock(&test_mtx); in cleanup_and_end_test()
492 pthread_mutex_lock(&test_mtx); in setup_ktrace_session()
500 pthread_mutex_unlock(&test_mtx); in setup_ktrace_session()
527 pthread_mutex_lock(&test_mtx); in setup_ktrace_session()
535 pthread_mutex_unlock(&test_mtx); in setup_ktrace_session()
579 pthread_mutex_lock(&test_mtx); in spawn_child_process()
582 pthread_mutex_unlock(&test_mtx); in spawn_child_process()
602 pthread_mutex_unlock(&test_mtx); in spawn_child_process()