Qore Programming Language Reference Manual  1.0.12
QC_AutoGate.dox.h
1 namespace Qore {
4 namespace Thread {
6 
31 class AutoGate {
32 
33 public:
35 
42 
43 public:
45 
47  copy();
48 
49 public:
51 
57 };
58 }
59 }
A helper class for the Gate class for exception-safe Gate handling.
Definition: QC_AutoGate.dox.h:31
copy()
Throws an exception; objects of this class cannot be copied.
destructor()
Calls Gate::exit() and destroys the AutoGate object.
constructor(Gate gate)
Creates the AutoGate object based on the Gate argument passed and immediately calls Gate::enter()
The Gate class implements a reentrant thread lock.
Definition: QC_Gate.dox.h:35
Qore namespace.
Definition: QC_AbstractBidirectionalIterator.dox.h:2