Mercurial > hg > svcore
diff data/model/EditableDenseThreeDimensionalModel.h @ 536:beb51f558e9c
* Change QMutex in Editable DTDM to a read/write lock
author | Chris Cannam |
---|---|
date | Mon, 26 Jan 2009 15:18:32 +0000 |
parents | 3ccf48fb81d6 |
children | dd97f7b3d120 |
line wrap: on
line diff
--- a/data/model/EditableDenseThreeDimensionalModel.h Fri Jan 23 14:00:29 2009 +0000 +++ b/data/model/EditableDenseThreeDimensionalModel.h Mon Jan 26 15:18:32 2009 +0000 @@ -18,6 +18,8 @@ #include "DenseThreeDimensionalModel.h" +#include <QReadWriteLock> + #include <vector> class EditableDenseThreeDimensionalModel : public DenseThreeDimensionalModel @@ -167,7 +169,7 @@ long m_sinceLastNotifyMax; int m_completion; - mutable QMutex m_mutex; + mutable QReadWriteLock m_lock; }; #endif