summaryrefslogtreecommitdiff
path: root/server/src/macrolist.h
diff options
context:
space:
mode:
authordeva <deva>2010-01-06 08:50:13 +0000
committerdeva <deva>2010-01-06 08:50:13 +0000
commit91988574b7b8d3ccdf186daee9a0f9c33b3803bb (patch)
tree77628545d616be4b4a7bf23ec8f175cfe483e5f2 /server/src/macrolist.h
parent0e819eb42b4d680a99ae7b04702bfc9510495aee (diff)
Made MacroList and TemplateList threadsafe.
Diffstat (limited to 'server/src/macrolist.h')
-rw-r--r--server/src/macrolist.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/src/macrolist.h b/server/src/macrolist.h
index 9b9b0d2..6460f8b 100644
--- a/server/src/macrolist.h
+++ b/server/src/macrolist.h
@@ -31,6 +31,7 @@
#include <map>
#include <string>
#include "versionstr.h"
+#include "mutex.h"
#include "exception.h"
@@ -66,6 +67,7 @@ public:
std::string getLatestVersion(std::string macro) throw(Exception);
private:
+ Mutex mutex;
std::string macropath;
};