A recursive mutex.
A fiber that already has exclusive ownership of a given
instance can call
try_lock() to acquire an additional level of
ownership of the mutex.
unlock() must be called once for each level of
ownership acquired by a single fiber before ownership can be acquired by another
Locks the mutex.
|This suspending function does not act as an interruption point.
|This mutex applies dispatch semantics. That means no context switch to other ready fibers will take place if it’s possible to acquire the mutex immediately.
Tries to lock the mutex. Returns whether lock acquisition was successful.
|The current fiber is never suspended.