Home
last modified time | relevance | path

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

/illumos-gate/usr/src/test/libc-tests/tests/clocklock/
H A Dclock_lock_rwlock.c138 if ((p = pthread_rwlock_timedrdlock(rwl, &clock_to_invns)) != 0) { in clock_test_rwlock_inv_to_ign_abs()
149 &clock_to_invns)) != 0) { in clock_test_rwlock_inv_to_ign_abs()
159 if ((p = pthread_rwlock_timedwrlock(rwl, &clock_to_invns)) != 0) { in clock_test_rwlock_inv_to_ign_abs()
170 &clock_to_invns)) != 0) { in clock_test_rwlock_inv_to_ign_abs()
190 if ((p = pthread_rwlock_timedrdlock(rwl, &clock_to_invns)) != EINVAL) { in clock_test_rwlock_inv_to_abs()
198 &clock_to_invns)) != EINVAL) { in clock_test_rwlock_inv_to_abs()
205 if ((p = pthread_rwlock_timedwrlock(rwl, &clock_to_invns)) != EINVAL) { in clock_test_rwlock_inv_to_abs()
213 &clock_to_invns)) != EINVAL) { in clock_test_rwlock_inv_to_abs()
228 const struct timespec *specs[] = { &clock_to_invns, &clock_to_invnegs, in clock_test_rwlock_inv_to_ign_rel()
288 const struct timespec *specs[] = { &clock_to_invns, &clock_to_invnegs, in clock_test_rwlock_inv_to_rel()
H A Dclock_lock_sem.c115 if (sem_timedwait(sem, &clock_to_invns) != 0) { in clock_test_sem_inv_to_ign_abs()
124 if (sem_clockwait(sem, CLOCK_MONOTONIC, &clock_to_invns) != 0) { in clock_test_sem_inv_to_ign_abs()
142 if (sem_timedwait(sem, &clock_to_invns) != -1 || errno != EINVAL) { in clock_test_sem_inv_to_abs()
149 if (sem_clockwait(sem, CLOCK_MONOTONIC, &clock_to_invns) != -1 || in clock_test_sem_inv_to_abs()
165 const struct timespec *specs[] = { &clock_to_invns, &clock_to_invnegs, in clock_test_sem_inv_to_ign_rel()
200 const struct timespec *specs[] = { &clock_to_invns, &clock_to_invnegs, in clock_test_sem_inv_to_rel()
H A Dclock_lock_mutex.c128 if ((p = pthread_mutex_timedlock(mutex, &clock_to_invns)) != 0) { in clock_test_mutex_inv_to_ign_abs()
139 &clock_to_invns)) != 0) { in clock_test_mutex_inv_to_ign_abs()
159 if ((p = pthread_mutex_timedlock(mutex, &clock_to_invns)) != EINVAL) { in clock_test_mutex_inv_to_abs()
167 &clock_to_invns)) != EINVAL) { in clock_test_mutex_inv_to_abs()
182 const struct timespec *specs[] = { &clock_to_invns, &clock_to_invnegs, in clock_test_mutex_inv_to_ign_rel()
219 const struct timespec *specs[] = { &clock_to_invns, &clock_to_invnegs, in clock_test_mutex_inv_to_rel()
H A Dclock_lock_cond.c168 &clock_to_invns)) != EINVAL) { in clock_test_cond_inv_to_abs()
176 CLOCK_MONOTONIC, &clock_to_invns)) != EINVAL) { in clock_test_cond_inv_to_abs()
192 const struct timespec *specs[] = { &clock_to_invns, &clock_to_invnegs, in clock_test_cond_inv_to_rel()
H A Dclock_lock.h57 extern const struct timespec clock_to_invns;
H A Dclock_lock.c52 const struct timespec clock_to_invns = { 0, NANOSEC * 2 }; variable