CarobNS::CriticalSection Class Reference

Implements a critical section for unix systems (Posix compliant) with mutex. More...

#include <CriticalSection.hpp>

List of all members.

Public Member Functions

 CriticalSection ()
 Default constructor to be used.
virtual ~CriticalSection ()
 Unlock and destroy the mutex.
void Enter () const
 Locks the mutex.
void Leave () const
 Unlocks the mutex.


Detailed Description

Implements a critical section for unix systems (Posix compliant) with mutex.

Just declare the critical section object and use Enter() and Leave() functions.


Constructor & Destructor Documentation

CarobNS::CriticalSection::CriticalSection (  )  [inline]

Default constructor to be used.

Creates and initializes the critical section mutex


The documentation for this class was generated from the following file:
Generated on Tue Oct 24 09:05:38 2006 for Carob by  doxygen 1.5.0