Lines Matching refs:td
26 } td;
45 if (pthread_mutex_lock(&td.mutex) != 0) {
53 rc = pthread_cond_wait(&td.cond, &td.mutex);
65 pthread_mutex_unlock(&td.mutex);
73 if (pthread_mutex_init(&td.mutex, NULL) != 0) {
77 if (pthread_cond_init(&td.cond, NULL) != 0) {
90 if (pthread_mutex_lock(&td.mutex) != 0) {
94 if (pthread_mutex_unlock(&td.mutex) != 0) {
109 if (pthread_cond_signal(&td.cond) != 0) {