Lines Matching defs:td
29 } td;
40 if (pthread_mutex_lock(&td.mutex) != 0) {
55 rc = pthread_cond_timedwait(&td.cond, &td.mutex, &timeout);
74 if (pthread_mutex_unlock(&td.mutex) != 0) {
86 if (pthread_mutex_init(&td.mutex, NULL) != 0) {
90 if (pthread_cond_init(&td.cond, NULL) != 0) {
103 if (pthread_mutex_lock(&td.mutex) != 0) {
107 if (pthread_mutex_unlock(&td.mutex) != 0) {
115 if (pthread_cond_signal(&td.cond) != 0) {