Searched refs:s_cond (Results 1 – 6 of 6) sorted by relevance
/external/valgrind/main/drd/tests/ |
D | pth_cancel_locked.c | 9 pthread_cond_t s_cond; variable 20 pthread_cond_signal(&s_cond); in thread() 21 pthread_cond_wait(&s_cond, &s_mutex1); in thread() 30 pthread_cond_init(&s_cond, 0); in main() 39 pthread_cond_wait(&s_cond, &s_mutex1); in main()
|
D | pth_cond_race.c | 19 static pthread_cond_t s_cond; variable 42 pthread_cond_init(&s_cond, 0); in main() 48 pthread_cond_wait(&s_cond, &s_mutex); in main() 54 pthread_cond_destroy(&s_cond); in main() 67 pthread_cond_signal(&s_cond); in thread_func()
|
D | thread_name.c | 15 static pthread_cond_t s_cond; variable 32 pthread_cond_wait(&s_cond, &s_mutex); in thread_func() 36 pthread_cond_broadcast(&s_cond); in thread_func() 49 pthread_cond_init(&s_cond, 0); in main() 57 pthread_cond_destroy(&s_cond); in main()
|
D | pth_detached.c | 12 static pthread_cond_t s_cond; variable 18 pthread_cond_signal(&s_cond); in increment_finished_count() 46 pthread_cond_init(&s_cond, 0); in main() 74 const int ret = pthread_cond_wait(&s_cond, &s_mutex); in main() 79 pthread_cond_destroy(&s_cond); in main()
|
D | pth_broadcast.c | 81 static pthread_cond_t s_cond; variable 101 pthread_cond_wait(&s_cond, &s_mutex); in thread_func() 137 printf("&s_cond = %p\n", &s_cond); in main() 140 pthread_cond_init(&s_cond, 0); in main() 165 pthread_cond_broadcast(&s_cond); in main() 178 pthread_cond_destroy(&s_cond); in main()
|
D | pth_inconsistent_cond_wait.c | 38 static pthread_cond_t s_cond; variable 86 PTH_CALL(pthread_cond_timedwait(&s_cond, mutex, &deadline)); in thread_func() 112 PTH_CALL(pthread_cond_init(&s_cond, 0)); in main() 133 PTH_CALL(pthread_cond_signal(&s_cond)); in main() 134 PTH_CALL(pthread_cond_signal(&s_cond)); in main()
|