From 91988574b7b8d3ccdf186daee9a0f9c33b3803bb Mon Sep 17 00:00:00 2001 From: deva Date: Wed, 6 Jan 2010 08:50:13 +0000 Subject: Made MacroList and TemplateList threadsafe. --- server/src/macrolist.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'server/src/macrolist.h') 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 #include #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; }; -- cgit v1.2.3