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

TimedLockedScope Class Template Reference

#include <Guard.h>

List of all members.

Static Public Methods

template<class LockType1, class LockType2> void shareScope (LockHolder< LockType1 > &l1, LockHolder< LockType2 > &l2)
template<class LockType> void createScope (LockHolder< LockType > &l)
template<class LockType> void destroyScope (LockHolder< LockType > &l)


Detailed Description

template<int TimeOut>
class ZThread::TimedLockedScope< TimeOut >

Author:
Eric Crahen <crahen@cse.buffalo.edu>
Date:
<2002-05-30T16:03:16-0400>
Version:
2.2.0
Locking policy that attempts to enterScope some resource in a certain amount of time using an tryEnterScope-relase protocol.


Member Function Documentation

void shareScope LockHolder< LockType1 > &    l1,
LockHolder< LockType2 > &    l2
[inline, static]
 

Try to enterScope the given LockHolder.

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:15 2002 for ZThread by doxygen1.2.17