Fix a crash related to concurrent access to config file by different threads.

--HG--
branch : trunk
This commit is contained in:
Machiavelli committed 2010-08-15 16:55:44 +02:00
1 parent 96144752be
commit e8d03e55ca
2 files changed
+5

No files matched your search

+3
View File
@@ -43,6 +43,9 @@ class Config
float GetFloatDefault(const char * name, const float def);
std::string GetFilename() const { return mFilename; }
ACE_Thread_Mutex mMtx;
private:
std::string mFilename;
ACE_Configuration_Heap *mConf;