Searched refs:threads_running (Results 1 – 4 of 4) sorted by relevance
50 static int threads_running; variable81 tst_atomic_dec(&threads_running); in exit_thread()93 tst_atomic_inc(&threads_running); in map_write_unmap()185 if (!threads_running) in cleanup()188 tst_res(TINFO, "Waiting for %i threads to terminate", threads_running); in cleanup()192 while ((volatile int)threads_running > 1) { in cleanup()194 (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()
163 volatile std::atomic<bool> threads_running[kNumThreads + 1]; in TEST() local165 threads_running[i] = false; in TEST()169 [&threads_running, &work, num_threads](int64 begin, int64 end, in TEST()175 ASSERT_FALSE(threads_running[id].exchange(true)); in TEST()179 ASSERT_TRUE(threads_running[id].exchange(false)); in TEST()180 threads_running[id] = false; in TEST()186 ASSERT_FALSE(threads_running[i]); in TEST()
100 # int preempt_fpu(double *darray, int *threads_running, int *running)