tinythreadlib::WriteLockGuard Class Reference

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

#include <tinythreadlib.hpp>

List of all members.

Public Member Functions

 WriteLockGuard (ReadWriteLock &readWriteLock) throw ()
 ~WriteLockGuard () throw ()

Detailed Description

Write lock guard (RAII-class)

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

Definition at line 565 of file tinythreadlib.hpp.

Constructor & Destructor Documentation

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

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

Definition at line 578 of file tinythreadlib.hpp.

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

Destroy the read lock guard. Releases the ReadWriteLock.

Definition at line 587 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