Home
last modified time | relevance | path

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

/freebsd/lib/libthr/thread/
H A Dthr_rwlock.c75 pthread_rwlock_t prwlock; in init_rwlock() local
79 prwlock = __thr_pshared_offpage(rwlock, 0); in init_rwlock()
80 if (prwlock == NULL) in init_rwlock()
82 } else if ((prwlock = *rwlock) <= THR_RWLOCK_DESTROYED) { in init_rwlock()
83 if (prwlock == THR_RWLOCK_INITIALIZER) { in init_rwlock()
87 } else if (prwlock == THR_RWLOCK_DESTROYED) { in init_rwlock()
90 prwlock = *rwlock; in init_rwlock()
92 *rwlock_out = prwlock; in init_rwlock()
99 pthread_rwlock_t prwlock; in rwlock_init() local
103 prwlock = aligned_alloc(CACHE_LINE_SIZE, in rwlock_init()
[all …]