Searched refs:PTH_CALL (Results 1 – 1 of 1) sorted by relevance
/external/valgrind/drd/tests/ |
D | pth_inconsistent_cond_wait.c | 21 #define PTH_CALL(expr) \ macro 80 PTH_CALL(pthread_mutex_lock(mutex)); in thread_func() 86 PTH_CALL(pthread_cond_timedwait(&s_cond, mutex, &deadline)); in thread_func() 87 PTH_CALL(pthread_mutex_unlock(mutex)); in thread_func() 113 PTH_CALL(pthread_cond_init(&s_cond, 0)); in main() 114 PTH_CALL(pthread_mutex_init(&s_mutex1, 0)); in main() 115 PTH_CALL(pthread_mutex_init(&s_mutex2, 0)); in main() 118 PTH_CALL(pthread_create(&tid1, 0, &thread_func, &s_mutex1)); in main() 119 PTH_CALL(pthread_create(&tid2, 0, &thread_func, &s_mutex2)); in main() 128 PTH_CALL(pthread_mutex_lock(&s_mutex1)); in main() [all …]
|