Home | History | Annotate | Download | only in pthread_cond_broadcast

Lines Matching refs:td

26 } td;
36 if (pthread_mutex_lock(&td.mutex) != 0) {
47 rc = pthread_cond_wait(&td.cond, &td.mutex);
55 if (pthread_mutex_unlock(&td.mutex) != 0) {
68 if (pthread_mutex_init(&td.mutex, NULL) != 0) {
72 if (pthread_cond_init(&td.cond, NULL) != 0) {
88 if (pthread_mutex_lock(&td.mutex) != 0) {
92 if (pthread_mutex_unlock(&td.mutex) != 0) {
100 rc = pthread_cond_broadcast(&td.cond);