Lines Matching refs:cond
38 pthread_cond_t cond;
43 TEST(r, pthread_cond_init(&cond, 0), "");
45 TEST(r, pthread_create(&td, 0, start_signal, (void *[]){ &cond, &mtx }), "");
46 TEST(r, pthread_cond_wait(&cond, &mtx), "");
50 TEST(r, pthread_cond_destroy(&cond), "");
54 TEST(r, pthread_cond_init(&cond, 0), "");
57 TEST(r, pthread_create(&td1, 0, start_wait, (void *[]){ &cond, &mtx, foo }), "");
58 TEST(r, pthread_create(&td2, 0, start_wait, (void *[]){ &cond, &mtx, foo }), "");
59 TEST(r, pthread_create(&td3, 0, start_wait, (void *[]){ &cond, &mtx, foo }), "");
64 TEST(r, pthread_cond_signal(&cond), "");
67 TEST(r, pthread_cond_signal(&cond), "");
70 TEST(r, pthread_cond_signal(&cond), "");
76 TEST(r, pthread_cond_destroy(&cond), "");
80 TEST(r, pthread_cond_init(&cond, 0), "");
83 TEST(r, pthread_create(&td1, 0, start_wait, (void *[]){ &cond, &mtx, foo }), "");
84 TEST(r, pthread_create(&td2, 0, start_wait, (void *[]){ &cond, &mtx, foo }), "");
85 TEST(r, pthread_create(&td3, 0, start_wait, (void *[]){ &cond, &mtx, foo }), "");
91 TEST(r, pthread_cond_broadcast(&cond), "");
96 TEST(r, pthread_cond_destroy(&cond), "");