Searched refs:cond_var (Results 1 – 9 of 9) sorted by relevance
/external/autotest/client/deps/lansim/src/py/ |
D | simulator.py | 345 cond_var = threading.Condition(lock_cond) 353 callback, ret, cond_var, condition) 362 with cond_var: 365 cond_var.wait() 370 cond_var.wait(cur_timeout) 377 def _condition_poller(self, callback, ref_value, cond_var, func): argument 384 with cond_var: 387 cond_var.notify()
|
/external/valgrind/drd/tests/ |
D | bug-235681.c | 14 pthread_cond_t cond_var; variable 31 rc = pthread_cond_wait(&cond_var, &mutex); in run_fn() 58 rc = pthread_cond_init(&cond_var, NULL); in main() 78 rc = pthread_cond_broadcast(&cond_var); in main()
|
/external/tensorflow/tensorflow/core/kernels/data/ |
D | parallel_interleave_dataset_op.cc | 196 worker.cond_var.notify_all(); in ~Iterator() 235 current_worker->cond_var.notify_one(); in GetNextInternal() 288 interleave_[next_index_]->cond_var.wait(l); in GetNextInternal() 328 condition_variable cond_var; member 341 cond_var.notify_one(); in SetInputs() 384 workers_[thread_index].cond_var.notify_all(); in WorkerThread() 393 workers_[thread_index].cond_var.wait(l); in WorkerThread() 410 workers_[thread_index].cond_var.notify_one(); in WorkerThread() 426 workers_[thread_index].cond_var.wait(l); in WorkerThread() 440 workers_[thread_index].cond_var.notify_one(); in WorkerThread()
|
/external/ltp/testcases/realtime/func/pi-tests/ |
D | testpi-2.c | 81 static pthread_cond_t cond_var = PTHREAD_COND_INITIALIZER; variable 98 pthread_cond_wait(&cond_var, &cond_mutex); in func_lowrt() 155 pthread_cond_broadcast(&cond_var); in func_noise() 219 pthread_cond_destroy(&cond_var); in main()
|
D | testpi-4.c | 80 static pthread_cond_t cond_var = PTHREAD_COND_INITIALIZER; variable 98 pthread_cond_wait(&cond_var, &cond_mutex); in func_nonrt() 154 pthread_cond_broadcast(&cond_var); in func_noise() 222 pthread_cond_destroy(&cond_var); in main()
|
D | testpi-1.c | 79 static pthread_cond_t cond_var = PTHREAD_COND_INITIALIZER; variable 96 pthread_cond_wait(&cond_var, &cond_mutex); in func_nonrt() 153 pthread_cond_broadcast(&cond_var); in func_noise() 218 pthread_cond_destroy(&cond_var); in main()
|
/external/webrtc/webrtc/system_wrappers/source/ |
D | condition_variable_unittest.cc | 191 rtc::scoped_ptr<ConditionVariableWrapper> cond_var( in TEST() local 195 EXPECT_FALSE(cond_var->SleepCS(*(crit_sect), kVeryShortWaitMs)); in TEST()
|
/external/tensorflow/tensorflow/core/platform/cloud/ |
D | file_block_cache.cc | 140 block->cond_var.notify_all(); in MaybeFetch() 143 block->cond_var.wait_for(l, std::chrono::seconds(60)); in MaybeFetch()
|
D | file_block_cache.h | 165 condition_variable cond_var; member
|