Searched refs:done_flag (Results 1 – 4 of 4) sorted by relevance
/external/tensorflow/tensorflow/core/lib/core/ |
D | threadpool_test.cc | 378 bool done_flag = false; in BM_Sequential() local 379 std::function<void()> work = [&pool, &count, &done_lock, &done_flag, in BM_Sequential() 385 done_flag = true; in BM_Sequential() 390 done_lock.Await(Condition(&done_flag)); in BM_Sequential() 399 bool done_flag = false; in BM_Parallel() local 401 pool.Schedule([&count, &done_lock, &done_flag]() { in BM_Parallel() 404 done_flag = true; in BM_Parallel() 409 done_lock.Await(Condition(&done_flag)); in BM_Parallel() 418 bool done_flag = false; in BM_ParallelFor() local 421 [&count, &done_lock, &done_flag](int64 begin, int64 end) { in BM_ParallelFor() [all …]
|
/external/libchrome/base/synchronization/ |
D | atomic_flag_unittest.cc | 31 AtomicFlag* done_flag) { in BusyWaitUntilFlagIsSet() argument 36 if (done_flag) in BusyWaitUntilFlagIsSet() 37 done_flag->Set(); in BusyWaitUntilFlagIsSet()
|
/external/tensorflow/tensorflow/core/common_runtime/gpu/ |
D | gpu_bfc_allocator_test.cc | 364 bool done_flag = false; in BM_AllocationThreaded() local 367 pool.Schedule([&a, &count, &done_lock, &done, &done_flag, sub_iters]() { in BM_AllocationThreaded() 378 done_flag = true; in BM_AllocationThreaded() 387 if (!done_flag) { in BM_AllocationThreaded()
|
/external/kernel-headers/original/uapi/linux/ |
D | sed-opal.h | 105 __u8 done_flag; member
|