library of assembled shared sources

http://lass.cocamware.com

lass::util::CriticalSection Class Reference
[Threading]

CriticalSection. More...

#include <thread.h>

Inheritance diagram for lass::util::CriticalSection:

Inheritance graph
[legend]
Collaboration diagram for lass::util::CriticalSection:

Collaboration graph
[legend]

Public Member Functions

 CriticalSection ()
 ~CriticalSection ()
void lock ()
const LockResult tryLock ()
void unlock ()
const bool isLocked () const

Private Member Functions

void swap (NonCopyable &)

Private Attributes

void * pimpl_

Detailed Description

CriticalSection.

See also:
CriticalSectionLocker
Author:
Tom De Muer [TDM]
Date:
2004 Process wide synchronization object. The recommended object for interthread synchronisation within a process in Windows.

Definition at line 146 of file thread.h.


Constructor & Destructor Documentation

lass::util::CriticalSection::CriticalSection ( void   ) 

Definition at line 112 of file thread.cpp.

References pimpl_.

lass::util::CriticalSection::~CriticalSection ( void   ) 


Member Function Documentation

void lass::util::CriticalSection::lock (  ) 

const LockResult lass::util::CriticalSection::tryLock (  ) 

void lass::util::CriticalSection::unlock (  ) 

const bool lass::util::CriticalSection::isLocked (  )  const

void lass::util::NonCopyable::swap ( NonCopyable  )  [inline, protected, inherited]

Definition at line 60 of file non_copyable.h.

Referenced by lass::io::Image::readLine().


Field Documentation

Definition at line 159 of file thread.h.

Referenced by CriticalSection(), isLocked(), lock(), tryLock(), unlock(), and ~CriticalSection().


The documentation for this class was generated from the following files:

Generated on Mon Nov 10 14:22:17 2008 for Library of Assembled Shared Sources by doxygen 1.5.7.1
SourceForge.net Logo