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

TimedLockedScope Class Template Reference

#include <Guard.h>

List of all members.

Static Public Member Functions

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 >

Eric Crahen <http://www.code-foo.com>
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.

lock LockType& is a type of LockHolder.

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