Loading...
Searching...
No Matches
QC_AutoReadLock.dox.h
namespace Qore {
namespace Thread {
class AutoReadLock {
public:
constructor(RWLock rwl);
public:
copy();
public:
destructor();
};
}
}
Qore::Thread::AutoReadLock
A helper class for the RWLock class for exception-safe read lock handling.
Definition: QC_AutoReadLock.dox.h:31
Qore::Thread::AutoReadLock::copy
copy()
Throws an exception; objects of this class cannot be copied.
Qore::Thread::AutoReadLock::destructor
destructor()
Calls RWLock::readUnlock() on the saved RWLock and destroys the AutoReadLock object.
Qore::Thread::AutoReadLock::constructor
constructor(RWLock rwl)
Creates the AutoReadLock object based on the RWLock argument passed and immediately calls RWLock::rea...
Qore::Thread::RWLock
The RWLock class implements a read-write thread lock.
Definition: QC_RWLock.dox.h:40
Qore
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:3