Searched refs:cond_var (Results 1 – 7 of 7) 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/ltp/testcases/realtime/func/pi-tests/ |
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()
|
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()
|
/external/ltp/testcases/kernel/ipc/ipc_stress/ |
D | shmem_test_07.c | 208 pthread_cond_t cond_var[MAX_WRITER_NUMBER]; variable 341 if (pthread_cond_init(&cond_var[i], NULL)) in main() 477 if (pthread_cond_broadcast(&cond_var[num_w])) in writer() 529 if (pthread_cond_wait(&cond_var[num_w], &cond_mutex[num_w])) in reader()
|
/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()
|