Searched refs:s_lock (Results 1 – 3 of 3) sorted by relevance
73 _thr_umutex_init(&lck->s_lock); in _pthread_spin_init()108 return (THR_UMUTEX_TRYLOCK(_get_curthread(), &lck->s_lock)); in _pthread_spin_trylock()126 while (THR_UMUTEX_TRYLOCK(curthread, &lck->s_lock) != 0) { in _pthread_spin_lock()127 while (lck->s_lock.m_owner) { in _pthread_spin_lock()152 return (THR_UMUTEX_UNLOCK(_get_curthread(), &lck->s_lock)); in _pthread_spin_unlock()
220 struct umutex s_lock; member
339 spinlock_t s_lock ____cacheline_aligned_in_smp;