Searched refs:trylock (Results 1 – 2 of 2) sorted by relevance
58 return lock->lock.trylock() ? 0 : EBUSY; in pthread_spin_destroy()63 return lock->lock.trylock() ? 0 : EBUSY; in pthread_spin_trylock()69 if (lock->lock.trylock()) { in pthread_spin_lock()
53 bool trylock() { in trylock() function