Releases ownership of the managed mutex without unlocking it.
Declared in <folly/SharedMutex.h>
<folly/SharedMutex.h>
mutex_type* release() noexcept;
The previously managed mutex, or nullptr if none.
nullptr