Luna::RecursiveSpinLock::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.