Home
last modified time | relevance | path

Searched refs:threads_running (Results 1 – 4 of 4) sorted by relevance

/external/ltp/testcases/kernel/mem/mtest06/
Dmmap3.c50 static int threads_running; variable
81 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()
/external/ltp/testcases/realtime/func/prio-preempt/
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()
/external/tensorflow/tensorflow/core/lib/core/
Dthreadpool_test.cc163 volatile std::atomic<bool> threads_running[kNumThreads + 1]; in TEST() local
165 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()
/external/linux-kselftest/tools/testing/selftests/powerpc/math/
Dfpu_asm.S100 # int preempt_fpu(double *darray, int *threads_running, int *running)