mbo::MultiThreaded::ThreadModel Class Reference

Class that defines types to be used in/for thread-safe environments. More...

#include <MboSynch.h>

List of all members.

Public Types

typedef CCriticalSectionImpl CriticalSection
typedef CEventImpl EventModel
typedef CMutexImpl MutexModel
typedef CLockSingle LockSingle
typedef CLockMulti LockMulti
typedef CLock Lock
typedef CUnlock Unlock

Static Public Member Functions

static IncDecVal Increment (IncDecVal *p)
static IncDecVal Decrement (IncDecVal *p)
static IncDecVal PeekValue (const IncDecVal *p)


Detailed Description

Class that defines types to be used in/for thread-safe environments.

Note:
This class is distributed under the following license GNU Lesser General Public License, version 2.1.

Definition at line 1342 of file MboSynch.h.


Member Typedef Documentation

typedef CCriticalSectionImpl mbo::MultiThreaded::ThreadModel::CriticalSection

thread safe Critical Section

Definition at line 1345 of file MboSynch.h.

typedef CEventImpl mbo::MultiThreaded::ThreadModel::EventModel

thread safe Event

Definition at line 1346 of file MboSynch.h.

typedef CMutexImpl mbo::MultiThreaded::ThreadModel::MutexModel

thread safe Mutex

Definition at line 1347 of file MboSynch.h.

typedef CLockSingle mbo::MultiThreaded::ThreadModel::LockSingle

thread safe single Lock

Definition at line 1348 of file MboSynch.h.

typedef CLockMulti mbo::MultiThreaded::ThreadModel::LockMulti

thread safe multi Lock

Definition at line 1349 of file MboSynch.h.

typedef CLock mbo::MultiThreaded::ThreadModel::Lock

thread safe automatic Lock

Definition at line 1350 of file MboSynch.h.

typedef CUnlock mbo::MultiThreaded::ThreadModel::Unlock

thread safe automatic Lock unlock

Definition at line 1351 of file MboSynch.h.


Member Function Documentation

static IncDecVal mbo::MultiThreaded::ThreadModel::Increment ( IncDecVal p  )  [static]

non thread-safe increment

Parameters:
p value to increment
Returns:
result of increment

static IncDecVal mbo::MultiThreaded::ThreadModel::Decrement ( IncDecVal p  )  [static]

non thread-safe decrement

Parameters:
p value to decrement
Returns:
result of increment

static IncDecVal mbo::MultiThreaded::ThreadModel::PeekValue ( const IncDecVal p  )  [static]

non thread-safe peek

Parameters:
p value to peek
Returns:
result of peek


The documentation for this class was generated from the following file:
  Hosted on code.google.com  
© Marcus Börger
Generated on Fri Jan 18 21:21:15 2008 for MBO-lib by doxygen 1.5.4