[#std-shared_lock-0b-release] = xref:std.adoc[std]::xref:std/shared_lock-0b.adoc[shared_lock<folly::SharedMutexImpl<ReaderPriority, Tag_, Atom, Policy>>]::release :relfileprefix: ../../ :mrdocs: Releases ownership of the managed mutex without unlocking it. == Synopsis Declared in `<folly/SharedMutex.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:std/shared_lock-0b/mutex_type.adoc[mutex_type]* release() noexcept; ---- == Return Value The previously managed mutex, or `nullptr` if none. [.small]#Created with https://www.mrdocs.com[MrDocs]#