If you can read this text, it means you are not experiencing this website at its best. This website is designed for used with a standards-compliant browser.
Current version: 2.3.2
A platform-independent, multi-threading and synchronization library for C++
Home Documentation Downloads CVS Contact

LockHolder Class Template Reference

#include <Guard.h>

Inheritance diagram for LockHolder:

Guard Guard< LockType, TransferedScope > List of all members.

Public Member Functions

template<class T>
 LockHolder (T &t)
 LockHolder (LockHolder &holder)
 LockHolder (LockType &lock)
void disable ()
bool isDisabled ()
LockType & getLock ()

Static Protected Member Functions

template<class T>
LockHolderextract (T &t)

Detailed Description

template<class LockType>
class ZThread::LockHolder< LockType >

Eric Crahen <http://www.code-foo.com>
This is a simple base class for Guards class. It allows Guards that have compatible targets to refer to each others targets allowing for the construction of Guards that share the same lock but have different locking policies.

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