Releases ownership of the managed mutex without unlocking it.

Synopsis

Declared in <folly/SharedMutex.h>

mutex_type*
release() noexcept;

Return Value

The previously managed mutex, or nullptr if none.

Created with MrDocs