All Classes Namespaces Functions Variables Groups Pages
QC_AutoGate.dox.h
namespace Qore::Thread {
class AutoGate {
public:
constructor(Gate gate);
public:
copy();
public:
destructor();
};
};
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:33
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.