Main Page   Namespace List   Class Hierarchy   Compound List   Namespace Members   Compound Members  

LockedScope Class Reference

#include <Guard.h>

List of all members.

Static Public Methods

template<class LockType> bool createScope (LockHolder< LockType > &l, unsigned long ms)
template<class LockType> void createScope (LockHolder< LockType > &l)
template<class LockType> void destroyScope (LockHolder< LockType > &l)


Detailed Description

Author:
Eric Crahen <crahen@cse.buffalo.edu>
Date:
<2002-05-30T16:03:16-0400>
Version:
2.2.0
Locking policy for Lockable objects. This policy acquire()s a Lockable when the protection scope is created, and it release()s a Lockable when the scope is destroyed.


Member Function Documentation

void createScope LockHolder< LockType > &    l [inline, static]
 

A new protection scope is being created.

Parameters:
lock  LockType& is a type of LockHolder.

bool createScope LockHolder< LockType > &    l,
unsigned long    ms
[inline, static]
 

A new protection scope is being created.

Parameters:
lock  LockType& is a type of LockHolder.

void destroyScope LockHolder< LockType > &    l [inline, static]
 

A protection scope is being destroyed.

Parameters:
lock  LockType& is a type of LockHolder.


The documentation for this class was generated from the following file:
Generated on Tue Aug 27 07:43:12 2002 for ZThread by doxygen1.2.17