Home
last modified time | relevance | path

Searched refs:threads_running (Results 1 - 2 of 2) sorted by relevance

/third_party/ltp/testcases/kernel/mem/mtest06/
H A Dmmap3.c31 static int threads_running; variable
62 tst_atomic_dec(&threads_running); in exit_thread()
74 tst_atomic_inc(&threads_running); in map_write_unmap()
160 if (!threads_running) in cleanup()
163 tst_res(TINFO, "Waiting for %i threads to terminate", threads_running); in cleanup()
167 while ((volatile int)threads_running > 1) { in cleanup()
169 (volatile int)threads_running); in cleanup()
/third_party/ltp/testcases/realtime/func/prio-preempt/
H A Dprio-preempt.c77 volatile int threads_running = 0; variable
175 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()

Completed in 2 milliseconds