Helper class for class-level locking. More...
#include <class_level_lock.h>
Classes | |
class | lock |
Type that provides locking/unlocking semantics. More... | |
Public Types | |
typedef volatile _Host | volatile_type |
Friends | |
class | lock |
Helper class for class-level locking.
This is the multi-threaded implementation. The main departure from Loki ClassLevelLockable is that there is an additional template parameter which can make the lock not lock at all even in multi-threaded environments. See static_mem_pool.h for real usage.
typedef volatile _Host nvwa::class_level_lock< _Host, _RealLock >::volatile_type |
friend class lock [friend] |