Searched refs:td (Results 1 – 2 of 2) sorted by relevance
26 } td; variable36 if (pthread_mutex_lock(&td.mutex) != 0) { in thr_func()47 rc = pthread_cond_wait(&td.cond, &td.mutex); in thr_func()53 if (pthread_mutex_trylock(&td.mutex) == 0) { in thr_func()63 if (pthread_mutex_unlock(&td.mutex) != 0) { in thr_func()79 if (pthread_mutex_init(&td.mutex, NULL) != 0) { in posix_testcase()83 if (pthread_cond_init(&td.cond, NULL) != 0) { in posix_testcase()99 if (pthread_mutex_lock(&td.mutex) != 0) { in posix_testcase()103 if (pthread_mutex_unlock(&td.mutex) != 0) { in posix_testcase()110 rc = pthread_cond_broadcast(&td.cond); in posix_testcase()
34 } td; variable47 if (pthread_mutex_lock(&td.mutex) != 0) { in t1_func()62 rc = pthread_cond_timedwait(&td.cond, &td.mutex, &timeout); in t1_func()81 if (pthread_mutex_trylock(&td.mutex) == 0) { in t1_func()89 if (pthread_mutex_unlock(&td.mutex) != 0) { in t1_func()103 if (pthread_mutex_init(&td.mutex, NULL) != 0) { in posix_testcase()107 if (pthread_cond_init(&td.cond, NULL) != 0) { in posix_testcase()120 if (pthread_mutex_lock(&td.mutex) != 0) { in posix_testcase()124 if (pthread_mutex_unlock(&td.mutex) != 0) { in posix_testcase()132 if (pthread_cond_signal(&td.cond) != 0) { in posix_testcase()
Completed in 4 milliseconds