[#BloombergLP-bslmt-ReaderWriterMutexImpl-isLocked]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/ReaderWriterMutexImpl.adoc[ReaderWriterMutexImpl]::isLocked
:relfileprefix: ../../../
:mrdocs:

Return `true` if this reader&hyphen;write mutex is currently read locked or write locked, and `false` otherwise&period;

== Synopsis

Declared in `&lt;bslmt&lowbar;readerwritermuteximpl&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
isLocked() const;
----

== Return Value

`true` if locked for reading or writing, and `false` otherwise


[.small]#Created with https://www.mrdocs.com[MrDocs]#
