[#BloombergLP-bsls-BslLock-unlock] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/BslLock.adoc[BslLock]::unlock :relfileprefix: ../../../ :mrdocs: Release the lock on this object that was previously acquired through a call to `lock`, enabling another thread to acquire the lock. The behavior is undefined unless the calling thread holds the lock on this object. == Synopsis Declared in `<bsls_bsllock.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void unlock(); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#