Lines Matching defs:td
28 } td;
52 if (pthread_mutex_lock(&td.mutex) != 0) {
60 rc = pthread_cond_wait(&td.cond, &td.mutex);
68 if (pthread_mutex_unlock(&td.mutex) != 0) {
81 if (pthread_mutex_init(&td.mutex, NULL) != 0) {
85 if (pthread_cond_init(&td.cond, NULL) != 0) {
101 if (pthread_mutex_lock(&td.mutex) != 0) {
105 if (pthread_mutex_unlock(&td.mutex) != 0) {
112 rc = pthread_cond_signal(&td.cond);
141 if (pthread_cond_signal(&td.cond) != 0) {