|
Krita Source Code Documentation
|
The KisUpgradeToWriteLocker class is use for RAII style unlocking the read lock and then locking the lock for write. We basically "upgrade" the lock to a write one. More...
#include <KisUpgradeToWriteLocker.h>
Public Member Functions | |
| KisUpgradeToWriteLocker (QReadLocker *locker) | |
| ~KisUpgradeToWriteLocker () | |
Private Attributes | |
| QReadLocker * | m_locker |
The KisUpgradeToWriteLocker class is use for RAII style unlocking the read lock and then locking the lock for write. We basically "upgrade" the lock to a write one.
WARNING: during the upgrade the lock passes the "unlocked" state, so all the protected data you acquired during the "read" phase might have become invalidated!
Definition at line 22 of file KisUpgradeToWriteLocker.h.
|
inline |
|
inline |
Definition at line 32 of file KisUpgradeToWriteLocker.h.
References m_locker.
|
private |
Definition at line 38 of file KisUpgradeToWriteLocker.h.