TimedLockedScope< TimeOut > Class Template Reference
#include <Guard.h>
Static Public Member Functions | |
template<class LockType1 , class LockType2 > | |
static void | shareScope (LockHolder< LockType1 > &l1, LockHolder< LockType2 > &l2) |
template<class LockType > | |
static void | createScope (LockHolder< LockType > &l) |
template<class LockType > | |
static void | destroyScope (LockHolder< LockType > &l) |
Detailed Description
template<int TimeOut>
class ZThread::TimedLockedScope< TimeOut >
class ZThread::TimedLockedScope< TimeOut >
- 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
◆ shareScope()
|
inlinestatic |
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:
- Guard.h