| Qore Programming Language Reference Manual 1.0.8

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