Qore Programming Language Reference Manual 1.18.0
Loading...
Searching...
No Matches
QC_AutoGate.dox.h
1
2namespace Qore {
4namespace Thread {
6
31class AutoGate {
32
33public:
35
42
43public:
45
48
49public:
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_AbstractSmartLock.dox.h:2