Name
mutex_trylock_recursive —
trylock variant that allows recursive locking
Synopsis
enum mutex_trylock_recursive_enum mutex_trylock_recursive ( | struct mutex * lock) ; |
Arguments
struct mutex * lock
mutex to be locked
Description
This function should not be used, _ever_. It is purely for hysterical GEM
raisins, and once those are gone this will be removed.
Return
MUTEX_TRYLOCK_FAILED - trylock failed,
MUTEX_TRYLOCK_SUCCESS - lock acquired,
MUTEX_TRYLOCK_RECURSIVE - we already owned the lock.