comparison base/Serialiser.h @ 406:d095214ffbaf

* Fix deadlock in Serialiser
author Chris Cannam
date Tue, 29 Apr 2008 10:59:19 +0000
parents c022976d18e8
children ad5f892c0c4d
comparison
equal deleted inserted replaced
405:65311fb86166 406:d095214ffbaf
25 { 25 {
26 public: 26 public:
27 Serialiser(QString id); 27 Serialiser(QString id);
28 ~Serialiser(); 28 ~Serialiser();
29 29
30 QString getId() const { return m_id; }
31
30 protected: 32 protected:
31 QString m_id; 33 QString m_id;
32 static QMutex m_mapMutex; 34 static QMutex m_mapMutex;
33 static std::map<QString, QMutex *> m_mutexMap; 35 static std::map<QString, QMutex *> m_mutexMap;
34 }; 36 };