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