Home
last modified time | relevance | path

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

/netbsd/src/lib/librumpuser/
Drumpuser_pth.c266 pthread_rwlock_t pthrw; member
300 pthread_rwlock_unlock(&rw->pthrw); in rw_setwriter()
362 NOFAIL_ERRNO(pthread_rwlock_init(&rw->pthrw, NULL)); in rumpuser_rw_init()
381 if (pthread_rwlock_trywrlock(&rw->pthrw) != 0) in rumpuser_rw_enter()
383 pthread_rwlock_wrlock(&rw->pthrw))); in rumpuser_rw_enter()
387 if (pthread_rwlock_tryrdlock(&rw->pthrw) != 0) in rumpuser_rw_enter()
389 pthread_rwlock_rdlock(&rw->pthrw))); in rumpuser_rw_enter()
403 rv = pthread_rwlock_trywrlock(&rw->pthrw); in rumpuser_rw_tryenter()
408 rv = pthread_rwlock_tryrdlock(&rw->pthrw); in rumpuser_rw_tryenter()
450 KLOCK_WRAP(NOFAIL_ERRNO(pthread_rwlock_rdlock(&rw->pthrw))); in rumpuser_rw_downgrade()
[all …]