[#std-shared_lock-0b-release]
= xref:std.adoc[std]::xref:std/shared_lock-0b.adoc[shared&lowbar;lock&lt;folly::SharedMutexImpl&lt;ReaderPriority, Tag&lowbar;, Atom, Policy&gt;&gt;]::release
:relfileprefix: ../../
:mrdocs:

Releases ownership of the managed mutex without unlocking it&period;

== Synopsis

Declared in `&lt;folly&sol;SharedMutex&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:std/shared_lock-0b/mutex_type.adoc[mutex&lowbar;type]*
release() noexcept;
----

== Return Value

The previously managed mutex, or `nullptr` if none&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
