Home
last modified time | relevance | path

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

/freebsd-9-stable/lib/libkse/thread/
Dthr_pspinlock.c60 lck->s_owner= NULL; in _pthread_spin_init()
75 else if ((*lock)->s_owner != NULL) in _pthread_spin_destroy()
95 else if (lck->s_owner == self) in _pthread_spin_trylock()
104 lck->s_owner = _pthread_self(); in _pthread_spin_trylock()
120 else if (lck->s_owner == self) in _pthread_spin_lock()
138 lck->s_owner = self; in _pthread_spin_lock()
154 if (lck->s_owner != _pthread_self()) in _pthread_spin_unlock()
157 lck->s_owner = NULL; in _pthread_spin_unlock()
Dthr_private.h398 pthread_t s_owner; member