Mutex implementation for fibers.
.sync .mutex .Mutex
This mutex type can be used in exchange for a core.sync.mutex.Mutex, but does not block the event loop when contention happens. Note that this mutex does not allow recursive locking.
Because this class is annotated nothrow, it cannot be interrupted
Task. The corresponding
InterruptException will be deferred until the next blocking
operation yields the event loop.
InterruptibleTaskMutex as an alternative that can be
InterruptibleTaskMutex, RecursiveTaskMutex, core.sync.mutex.Mutex