Searched refs:threads_running (Results 1 – 4 of 4) sorted by relevance
/external/ltp/testcases/kernel/mem/mtest06/ |
D | mmap3.c | 33 static int threads_running; variable 64 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()
|
/external/tensorflow/tensorflow/core/lib/core/ |
D | threadpool_test.cc | 213 std::vector<std::atomic<bool>> threads_running(num_threads + 1); in RunFixedBlockSizeShardingWithWorkerId() local 215 threads_running[i] = false; in RunFixedBlockSizeShardingWithWorkerId() 223 [=, &mu, &num_done_work, &work, &threads_running](int64 start, int64 end, in RunFixedBlockSizeShardingWithWorkerId() 233 EXPECT_FALSE(threads_running[id].exchange(true)); in RunFixedBlockSizeShardingWithWorkerId() 240 EXPECT_TRUE(threads_running[id].exchange(false)); in RunFixedBlockSizeShardingWithWorkerId() 328 std::atomic<bool> threads_running[kNumThreads + 1]; in TEST() local 330 threads_running[i] = false; in TEST() 334 [&threads_running, &work](int64 begin, int64 end, int64 id) { in TEST() 339 ASSERT_FALSE(threads_running[id].exchange(true)); in TEST() 343 ASSERT_TRUE(threads_running[id].exchange(false)); in TEST() [all …]
|
/external/ltp/testcases/realtime/func/prio-preempt/ |
D | prio-preempt.c | 77 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/linux-kselftest/tools/testing/selftests/powerpc/math/ |
D | fpu_asm.S | 96 # int preempt_fpu(double *darray, int *threads_running, int *running)
|