BloombergLP::bslmt::ReaderWriterLock::lockRead

Lock this reader/writer lock for read. If there are no pending or active write locks, the call will return immediately, otherwise it block until all write locks have been released. Use unlock to release the lock.

Synopsis

Declared in <bslmt_readerwriterlock.h>

void
lockRead();