Qore Programming Language Reference Manual 2.0.0
Loading...
Searching...
No Matches
QC_AutoGate.dox.h
1
2namespace Qore {
4namespace Thread {
6
32class AutoGate {
33
34public:
36
44
45public:
47
50
51public:
53/***/
55};
56}
57}
A helper class for the Gate class for exception-safe Gate handling.
Definition QC_AutoGate.dox.h:32
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
list< auto > list(...)
Returns a list of the arguments passed at the top level.
Qore namespace.
Definition QC_AbstractSmartLock.dox.h:2