std::shared_lock<folly::SharedMutexImpl<ReaderPriority, Tag_, Atom, Policy>>::release

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.