[#BloombergLP-bsls-SpinLockGuard-release]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/SpinLockGuard.adoc[SpinLockGuard]::release
:relfileprefix: ../../../
:mrdocs:

Return the lock pointer that was provided at construction and stop managing it&period; (Subsequent calls to `release()` will return null and the destruction of this object will not affect the lock&period;) The lock status is not changed by this call&period;

== Synopsis

Declared in `&lt;bsls&lowbar;spinlock&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bsls/SpinLock.adoc[SpinLock]*
release();
----


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