RWLock Class Reference
[Synchronization Primitives]

A multiple reader single writer lock. Readers cannot upgrade their lock to writer. LockRead/UnlockRead and LockWrite/UnlockWrite must alway be called in pairs and cannot be interleved. More...

#include <RWLock.h>

List of all members.

Public Member Functions

void LockRead ()
void LockWrite ()
void UnlockRead ()
void UnlockWrite ()

Protected Attributes

pthread_rwlock_t m_rwlock

Detailed Description

A multiple reader single writer lock. Readers cannot upgrade their lock to writer. LockRead/UnlockRead and LockWrite/UnlockWrite must alway be called in pairs and cannot be interleved.

Definition at line 38 of file RWLock.h.


The documentation for this class was generated from the following files: