tinythreadlib::MutexGuard Class Reference

Mutex guard (RAII-class) More...

#include <tinythreadlib.hpp>

List of all members.

Public Member Functions

 MutexGuard (Mutex &mutex) throw ()
 ~MutexGuard () throw ()

Detailed Description

Mutex guard (RAII-class)

An RAII class which locks a Mutex in its constructor and releases it in its destructor.

Definition at line 292 of file tinythreadlib.hpp.

Constructor & Destructor Documentation

tinythreadlib::MutexGuard::MutexGuard ( Mutex mutex  )  throw () [inline]

Create a mutex guard for the specified Mutex. The Mutex is locked.

Definition at line 305 of file tinythreadlib.hpp.

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

Destroy the mutex guard. Releases the Mutex.

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