Lines Matching refs:td
27 } td;
37 if (pthread_mutex_lock(&td.mutex) != 0) {
45 rc = pthread_cond_wait(&td.cond, &td.mutex);
53 if (pthread_mutex_unlock(&td.mutex) != 0) {
66 if (pthread_mutex_init(&td.mutex, NULL) != 0) {
70 if (pthread_cond_init(&td.cond, NULL) != 0) {
86 if (pthread_mutex_lock(&td.mutex) != 0) {
90 if (pthread_mutex_unlock(&td.mutex) != 0) {
97 rc = pthread_cond_broadcast(&td.cond);