|ScopedWriteLock (const ReadWriteLock &lock) noexcept|
|Creates a ScopedWriteLock. More...|
|~ScopedWriteLock () noexcept|
Automatically locks and unlocks a ReadWriteLock object.
Use one of these as a local variable to control access to a ReadWriteLock.
Constructor & Destructor Documentation
Creates a ScopedWriteLock.
Make sure this object is created and deleted by the same thread, otherwise there are no guarantees what will happen! Best just to use it as a local stack object, rather than creating one with the new() operator.
The ReadWriteLock's exitWrite() method will be called when the destructor is called.
Make sure this object is created and deleted by the same thread, otherwise there are no guarantees what will happen!
The documentation for this class was generated from the following file: