Home
last modified time | relevance | path

Searched refs:cond_var (Results 1 – 9 of 9) sorted by relevance

/external/autotest/client/deps/lansim/src/py/
Dsimulator.py345 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/
Dbug-235681.c14 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/
Dparallel_interleave_dataset_op.cc196 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/
Dtestpi-2.c81 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()
Dtestpi-4.c80 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()
Dtestpi-1.c79 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/
Dcondition_variable_unittest.cc191 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/
Dfile_block_cache.cc140 block->cond_var.notify_all(); in MaybeFetch()
143 block->cond_var.wait_for(l, std::chrono::seconds(60)); in MaybeFetch()
Dfile_block_cache.h165 condition_variable cond_var; member