Searched refs:threads_running (Results 1 – 4 of 4) sorted by relevance
33 static int threads_running; variable64 tst_atomic_dec(&threads_running); in exit_thread()76 tst_atomic_inc(&threads_running); in map_write_unmap()168 if (!threads_running) in cleanup()171 tst_res(TINFO, "Waiting for %i threads to terminate", threads_running); in cleanup()175 while ((volatile int)threads_running > 1) { in cleanup()177 (volatile int)threads_running); in cleanup()
77 volatile int threads_running = 0; variable175 threads_running++; in worker_thread()192 threads_running--; in worker_thread()225 threads_running--; in worker_thread()272 while (threads_running < NUM_WORKERS) in master_thread()283 while (threads_running) in master_thread()
215 static int threads_running = 0; variable227 g_atomic_int_inc (&threads_running); in test_threads_thread_func1()254 g_atomic_int_inc (&threads_running); in test_threads_thread_func2()281 g_atomic_int_inc (&threads_running); in test_threads_thread_func3()313 while (g_atomic_int_get (&threads_running) < 3) in GST_START_TEST()
265 static int threads_running = 0; variable279 g_atomic_int_inc (&threads_running); in test_threads_thread_func1()306 g_atomic_int_inc (&threads_running); in test_threads_thread_func2()331 g_atomic_int_inc (&threads_running); in test_threads_thread_func3()363 while (g_atomic_int_get (&threads_running) < 3) in GST_START_TEST()