9#ifndef INCLUDED_BSLMT_READERWRITERMUTEX
10#define INCLUDED_BSLMT_READERWRITERMUTEX
226#include <bslscm_version.h>
357 return d_impl.tryLockRead();
363 return d_impl.tryLockWrite();
381 d_impl.unlockWrite();
388 return d_impl.isLocked();
394 return d_impl.isLockedRead();
400 return d_impl.isLockedWrite();
Definition bslmt_readerwritermuteximpl.h:94
Definition bslmt_readerwritermutex.h:244
int tryLockWrite()
Definition bslmt_readerwritermutex.h:361
void unlockRead()
Definition bslmt_readerwritermutex.h:373
bool isLockedWrite() const
Definition bslmt_readerwritermutex.h:398
void unlock()
Definition bslmt_readerwritermutex.h:367
ReaderWriterMutex()
Construct a reader/writer lock initialized to an unlocked state.
Definition bslmt_readerwritermutex.h:337
void unlockWrite()
Definition bslmt_readerwritermutex.h:379
~ReaderWriterMutex()
Destroy this object.
int tryLockRead()
Definition bslmt_readerwritermutex.h:355
void lockRead()
Definition bslmt_readerwritermutex.h:343
bool isLockedRead() const
Definition bslmt_readerwritermutex.h:392
void lockWrite()
Definition bslmt_readerwritermutex.h:349
bool isLocked() const
Definition bslmt_readerwritermutex.h:386
#define BSLS_IDENT(str)
Definition bsls_ident.h:195
Definition bslmt_barrier.h:344