BloombergLP::bslmt::ReaderWriterMutex::isLocked

Return true if this reader-write mutex is currently read locked or write locked, and false otherwise.

Synopsis

Declared in <bslmt_readerwritermutex.h>

bool
isLocked() const;

Return Value

true if this mutex is read or write locked, and false otherwise