library of assembled shared sources

http://lass.cocamware.com

lass::util::impl::SingletonGuard::CustomSemaphore Class Reference

Special semaphore for the guard. More...


Public Member Functions

 CustomSemaphore ()
 ~CustomSemaphore ()

Static Private Attributes

static int freeSlots_ = 1


Detailed Description

Special semaphore for the guard.

Definition at line 110 of file singleton_impl.cpp.


Constructor & Destructor Documentation

lass::util::impl::SingletonGuard::CustomSemaphore::CustomSemaphore (  )  [inline]

Definition at line 113 of file singleton_impl.cpp.

References lass::util::atomicCompareAndSwap(), freeSlots_, and LASS_ASSERT.

lass::util::impl::SingletonGuard::CustomSemaphore::~CustomSemaphore (  )  [inline]

Definition at line 124 of file singleton_impl.cpp.

References lass::util::atomicIncrement(), and freeSlots_.


Field Documentation

Definition at line 129 of file singleton_impl.cpp.

Referenced by CustomSemaphore(), and ~CustomSemaphore().


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

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