tinythreadlib::ReadLockGuard Class Reference

Read lock guard (RAII-class) More...

#include <tinythreadlib.hpp>

List of all members.

Public Member Functions

 ReadLockGuard (ReadWriteLock &readWriteLock) throw ()
 ~ReadLockGuard () throw ()

Detailed Description

Read lock guard (RAII-class)

An RAII class which locks a ReadWriteLock for read access in its constructor and releases it inReadWriteLock its destructor.

Definition at line 531 of file tinythreadlib.hpp.

Constructor & Destructor Documentation

tinythreadlib::ReadLockGuard::ReadLockGuard ( ReadWriteLock readWriteLock  )  throw () [inline]

Create a read lock guard for the specified ReadWriteLock. The ReadWriteLock is locked for read access.

Definition at line 544 of file tinythreadlib.hpp.

tinythreadlib::ReadLockGuard::~ReadLockGuard (  )  throw () [inline]

Destroy the read lock guard. Releases the ReadWriteLock.

Definition at line 553 of file tinythreadlib.hpp.

The documentation for this class was generated from the following file:
 All Classes Files Functions Defines

Generated on Mon Apr 19 22:37:45 2010 for TinyThreadLib by  doxygen 1.6.1