Luna::SpinLock::try_lock
bool try_lock()
Tries to lock the spin lock.
Return value
Returns true
if the spin lock is successfully locked when the function returns. Returns false
otherwise.
bool try_lock()
Tries to lock the spin lock.
Returns true
if the spin lock is successfully locked when the function returns. Returns false
otherwise.