A reactor aware non-recursive simple mutex.
This struct can be used for synchronizing different fibers. It cannot be used for synchronizing threads not running under the same reactor.
Acquire the lock. Suspend the fiber if currently acquired.
Release a previously acquired lock.
Returns whether the lock is currently held.
Returns the FiberHandle of the current owner of the lock.
See Implementation
A reactor aware non-recursive simple mutex.
This struct can be used for synchronizing different fibers. It cannot be used for synchronizing threads not running under the same reactor.