B.3.3 spin_trylock()

The spin_trylock() primitive acquires the specified spinlock, but only if it is immediately available. It returns true if it was able to acquire the spinlock and false otherwise.



Paul E. McKenney 2011-12-16