Home
last modified time | relevance | path

Searched refs:s_cond (Results 1 – 6 of 6) sorted by relevance

/external/valgrind/main/drd/tests/
Dpth_cancel_locked.c9 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()
Dpth_cond_race.c19 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()
Dthread_name.c15 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()
Dpth_detached.c12 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()
Dpth_broadcast.c81 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()
Dpth_inconsistent_cond_wait.c38 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()