ZThread::TimedLockedScope< TimeOut > Class Template Reference

#include <Guard.h>

List of all members.

Static Public Member Functions

template<class LockType1, class LockType2>
static void shareScope (LockHolder< LockType1 > &l1, LockHolder< LockType2 > &l2)


Detailed Description

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

Author:
Eric Crahen <http://www.code-foo.com>
Date:
<2003-07-16T17:55:42-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

template<int TimeOut>
template<class LockType1, class LockType2>
static void ZThread::TimedLockedScope< TimeOut >::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 Wed Aug 30 03:27:47 2006 for SWG EMU by  doxygen 1.4.7