2005/5/9

     
 

class core_static_lock_guard

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::lang::sys::core_static_lock_guard< LockClass > Class Template Reference

#include <core_guard.h>

List of all members.


Detailed Description

template<class LockClass>
class acdk::lang::sys::core_static_lock_guard< LockClass >

Use this to lock a static defined mutex This implementation looks, if the lock would be tried outside of main() (than it would fail on some plattforms).


Public Member Functions

 core_static_lock_guard (LockClass &locker)
 ~core_static_lock_guard ()

Private Attributes

LockClass & _lock
bool _locked


Constructor & Destructor Documentation

template<class LockClass>
acdk::lang::sys::core_static_lock_guard< LockClass >::core_static_lock_guard LockClass &  locker  )  [inline]
 

template<class LockClass>
acdk::lang::sys::core_static_lock_guard< LockClass >::~core_static_lock_guard  )  [inline]
 


Member Data Documentation

template<class LockClass>
LockClass& acdk::lang::sys::core_static_lock_guard< LockClass >::_lock [private]
 

template<class LockClass>
bool acdk::lang::sys::core_static_lock_guard< LockClass >::_locked [private]