[#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. (Subsequent calls to `release()` will return null and the destruction of this object will not affect the lock.) The lock status is not changed by this call. == Synopsis Declared in `<bsls_spinlock.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bsls/SpinLock.adoc[SpinLock]* release(); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#