diff options
author | Gordon Sim <gsim@apache.org> | 2007-11-19 12:18:26 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2007-11-19 12:18:26 +0000 |
commit | 73eee018d301031a212fe3c8a8127b84c2b580ac (patch) | |
tree | 8f6361112c086c11613601fa699c910b5b5e8e8d /cpp/src/qpid/sys/Serializer.cpp | |
parent | 2c3e3bf4c62267ac6a0fe1f5d6a6288a927ace0b (diff) | |
download | qpid-python-73eee018d301031a212fe3c8a8127b84c2b580ac.tar.gz |
Fixes causing lost 'events' in queue dispatch
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@596277 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/sys/Serializer.cpp')
-rw-r--r-- | cpp/src/qpid/sys/Serializer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/sys/Serializer.cpp b/cpp/src/qpid/sys/Serializer.cpp index a82982a0c8..86f901aa78 100644 --- a/cpp/src/qpid/sys/Serializer.cpp +++ b/cpp/src/qpid/sys/Serializer.cpp @@ -58,7 +58,7 @@ bool SerializerBase::running() { void SerializerBase::wait() { Mutex::ScopedLock l(lock); - lock.wait(); + if (state == IDLE) lock.wait(); } void SerializerBase::run() { |