c++-gtk-utils
Classes | Namespaces
rw_lock.h File Reference

Provides wrapper class for pthread read-write locks, and scoped locking classes for exception safe locking of read-write locks. More...

#include <exception>
#include <pthread.h>
#include <c++-gtk-utils/mutex.h>
#include <c++-gtk-utils/cgu_config.h>

Go to the source code of this file.

Classes

struct  Cgu::Thread::RWLockError
 
class  Cgu::Thread::RWLock
 A wrapper class for pthread read-write locks. More...
 
class  Cgu::Thread::RWLock::ReaderLock
 A scoped locking class for exception safe RWLock read locking. More...
 
class  Cgu::Thread::RWLock::ReaderTrackLock
 A scoped locking class for exception safe RWLock read locking which tracks the status of its read-write lock. More...
 
class  Cgu::Thread::RWLock::WriterLock
 A scoped locking class for exception safe RWLock write locking. More...
 
class  Cgu::Thread::RWLock::WriterTrackLock
 A scoped locking class for exception safe RWLock write locking which tracks the status of its read-write lock.. More...
 

Namespaces

 Cgu
 
 Cgu::Thread
 

Detailed Description

Provides wrapper class for pthread read-write locks, and scoped locking classes for exception safe locking of read-write locks.