summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/cluster/Decoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/cluster/Decoder.h')
-rw-r--r--cpp/src/qpid/cluster/Decoder.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/qpid/cluster/Decoder.h b/cpp/src/qpid/cluster/Decoder.h
index acde4258a2..3fb7b4f73d 100644
--- a/cpp/src/qpid/cluster/Decoder.h
+++ b/cpp/src/qpid/cluster/Decoder.h
@@ -24,6 +24,7 @@
#include "types.h"
#include "qpid/framing/FrameDecoder.h"
+#include "qpid/sys/Mutex.h"
#include <boost/function.hpp>
#include <map>
@@ -48,6 +49,7 @@ class Decoder
private:
typedef std::map<ConnectionId, framing::FrameDecoder> Map;
+ sys::Mutex lock;
Map map;
void process(const EventFrame&);
FrameHandler callback;