$darkmode
Qore Programming Language Reference Manual 1.19.2
QC_AutoWriteLock.dox.h
1 namespace Qore {
4 namespace Thread {
6 
38 
39 public:
41 
54 
55 public:
57 
59  copy();
60 
61 public:
63 
72 };
73 }
74 }
A helper class for the RWLock class for exception-safe write lock handling.
Definition: QC_AutoWriteLock.dox.h:37
constructor(RWLock rwl)
Creates the AutoWriteLock object based on the RWLock argument passed and immediately calls RWLock::wr...
destructor()
Calls RWLock::writeUnlock() on the saved RWLock and destroys the AutoWriteLock object.
copy()
Throws an exception; objects of this class cannot be copied.
The RWLock class implements a read-write thread lock.
Definition: QC_RWLock.dox.h:40
Qore namespace.
Definition: QC_AbstractBidirectionalIterator.dox.h:2