[#BloombergLP-bslmt-ReaderWriterLock-unlock] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/ReaderWriterLock.adoc[ReaderWriterLock]::unlock :relfileprefix: ../../../ :mrdocs: Release a read lock that was previously acquired from a successful call to `lockRead`, `lockReadReserveWrite`, or `tryLockRead`, or a write lock which was previously acquired by a successful call to `lockWrite`, `tryLockWrite`, or `upgradeToWriteLock`. Note that the behavior is undefined unless the calling thread currently owns this read/write lock. == Synopsis Declared in `<bslmt_readerwriterlock.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void unlock(); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#