QC_AutoWriteLock.dox.h
namespace Qore {
namespace Thread {
class AutoWriteLock {
public:
constructor(RWLock rwl);
public:
copy();
public:
destructor();
};
}
}
Qore::Thread::AutoWriteLock::copy
copy()
Throws an exception; objects of this class cannot be copied.
Qore::Thread::AutoWriteLock
A helper class for the RWLock class for exception-safe write lock handling.
Definition: QC_AutoWriteLock.dox.h:31
Qore::Thread::AutoWriteLock::constructor
constructor(RWLock rwl)
Creates the AutoWriteLock object based on the RWLock argument passed and immediately calls RWLock::wr...
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
Qore::Thread::AutoWriteLock::destructor
destructor()
Calls RWLock::writeUnlock() on the saved RWLock and destroys the AutoWriteLock object.