From 5447b80198e5ddac4a10678e1dd5fe76cd435d2b Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Wed, 14 Nov 2007 09:34:51 +0000 Subject: Fixed locking (lock was not being released for invocation on callback due to being locked twice but unlocked only once) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@594812 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/sys/Serializer.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cpp/src/qpid/sys/Serializer.h') diff --git a/cpp/src/qpid/sys/Serializer.h b/cpp/src/qpid/sys/Serializer.h index 30b7f88505..fe4afc85cb 100644 --- a/cpp/src/qpid/sys/Serializer.h +++ b/cpp/src/qpid/sys/Serializer.h @@ -61,6 +61,8 @@ class SerializerBase : private boost::noncopyable, private Runnable void notifyWorker(); void run(); virtual bool empty() = 0; + bool running(); + void wait(); Monitor lock; State state; -- cgit v1.2.1