Searched refs:condvar (Results 1 – 2 of 2) sorted by relevance
30 static int condvar_reinit (pthread_cond_t *condvar,41 pthread_cond_t condvar; in main() local46 && pthread_cond_init (&condvar, NULL) == 0 in main()47 && test_setclock (&condvar, &attr) == PASS in main()48 && test_setpshared (&condvar, &attr) == PASS) in main()61 if (pthread_cond_destroy (condvar) == 0 in condvar_reinit()62 && pthread_cond_init (condvar, attr) == 0) in condvar_reinit()71 test_setclock (pthread_cond_t *condvar, pthread_condattr_t *attr) in test_setclock() argument76 && condvar_reinit (condvar, attr) == PASS) in test_setclock()89 && condvar_reinit (condvar, attr) == PASS in test_setpshared()[all …]
29 static int test_status_destroyed (pthread_cond_t *condvar);34 pthread_cond_t condvar; in main() local39 && test_status_destroyed (&condvar) == PASS) in main()48 test_status_destroyed (pthread_cond_t *condvar) in test_status_destroyed() argument52 if (pthread_cond_init (condvar, NULL) == 0 in test_status_destroyed()53 && pthread_cond_destroy (condvar) == 0) in test_status_destroyed()
Completed in 4 milliseconds