Returns the managed mutex without releasing ownership.
Declared in <folly/SharedMutex.h>
<folly/SharedMutex.h>
[[nodiscard]] mutex_type* mutex() const noexcept;
The managed mutex, or nullptr if none.
nullptr
The return value should not be discarded.