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.
release()
Declared in <bsls_spinlock.h>
<bsls_spinlock.h>
SpinLock* release();