Qore Programming Language Reference Manual 0.8.8

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

All Classes Namespaces Functions Variables Groups Pages
QC_AutoGate.dox.h
1 namespace Qore::Thread {
4
29 class AutoGate {
30
31 public:
33
39 constructor(Gate gate);
40
41 public:
43
45 copy();
46
47 public:
49
54 destructor();
55 };
56 };
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:24
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:29
Qore::Thread::AutoGate::copy
copy()
Throws an exception; objects of this class cannot be copied.