Nvwa  1.1
Classes | List of all members
nvwa::class_level_lock< _Host, _RealLock > Class Template Reference

Helper class for class-level locking. More...

#include <class_level_lock.h>

Collaboration diagram for nvwa::class_level_lock< _Host, _RealLock >:
[legend]

Classes

class  lock
 Type that provides locking/unlocking semantics. More...
 

Detailed Description

template<class _Host, bool _RealLock = true>
class nvwa::class_level_lock< _Host, _RealLock >

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.


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