Home
last modified time | relevance | path

Searched refs:cc_mutex (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/test/libc-tests/tests/clocklock/
H A Dclock_lock_cond.c36 pthread_mutex_t cc_mutex; member
69 if ((ret = pthread_mutex_init(&cc->cc_mutex, &attr)) != 0) { in clock_cond_create()
82 VERIFY0(pthread_mutex_destroy(&cc->cc_mutex)); in clock_cond_destroy()
107 (void) memcpy(&cc->cc_mutex, &clock_mutex_static, in clock_cond_static_create()
128 pthread_mutex_t *mutex = &cc->cc_mutex; in clock_test_cond_invalid_source()
166 pthread_mutex_enter_np(&cc->cc_mutex); in clock_test_cond_inv_to_abs()
167 if ((p = pthread_cond_timedwait(&cc->cc_cond, &cc->cc_mutex, in clock_test_cond_inv_to_abs()
175 if ((p = pthread_cond_clockwait(&cc->cc_cond, &cc->cc_mutex, in clock_test_cond_inv_to_abs()
182 pthread_mutex_exit_np(&cc->cc_mutex); in clock_test_cond_inv_to_abs()
198 pthread_mutex_enter_np(&cc->cc_mutex); in clock_test_cond_inv_to_rel()
[all …]