[#BloombergLP-bsls-BslLockImpl_pthread-unlock] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/BslLockImpl_pthread.adoc[BslLockImpl_pthread]::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_bsllockimpl_pthread.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void unlock(); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#