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.1
ZThreads
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:

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> LockHolder & | extract (T &t)

## Detailed Description

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

Author:
  Eric Crahen <http://www.code-foo.com>

Date:
  <2003-07-16T17:55:42-0400>

Version:
  2.2.0

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:

- Guard.h