Definition posixreadwritelock.h:16
int32_t writeCounter
Definition posixreadwritelock.h:35
pthread_rwlock_t lock
Definition posixreadwritelock.h:36
~PosixReadWriteLock()
Destructor.
Definition posixreadwritelock.cc:24
void UnlockRead()
Release read.
Definition posixreadwritelock.cc:61
void LockWrite()
Lock for write.
Definition posixreadwritelock.cc:45
void UnlockWrite()
Release write.
Definition posixreadwritelock.cc:72
Threading::ThreadId lockingThread
Definition posixreadwritelock.h:37
int32_t readCounter
Definition posixreadwritelock.h:34
void LockRead()
Lock for read.
Definition posixreadwritelock.cc:34
PosixReadWriteLock()
Constructor.
Definition posixreadwritelock.cc:15
Posix implemention of a read-many write-few lock.
Definition posixsysfunc.cc:21
pthread_t ThreadId
Definition linuxthreadid.h:15