summaryrefslogtreecommitdiff
path: root/qpid/cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2008-10-31 14:25:19 +0000
committerGordon Sim <gsim@apache.org>2008-10-31 14:25:19 +0000
commit40c035e8e5172410e9f77c7db969c8637f967cae (patch)
tree8bf149b062414eada129ff7cd9a8753e117072be /qpid/cpp
parent2406d2ff92e8893894ac849366620a0002a5b9cc (diff)
downloadqpid-python-40c035e8e5172410e9f77c7db969c8637f967cae.tar.gz
Fix intermittent hanging where two threads are waiting for completions on the same session.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@709429 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp')
-rw-r--r--qpid/cpp/src/qpid/client/SessionImpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/client/SessionImpl.cpp b/qpid/cpp/src/qpid/client/SessionImpl.cpp
index 2d0f83b894..08e405565a 100644
--- a/qpid/cpp/src/qpid/client/SessionImpl.cpp
+++ b/qpid/cpp/src/qpid/client/SessionImpl.cpp
@@ -542,7 +542,7 @@ void SessionImpl::completed(const framing::SequenceSet& commands, bool timelyRep
{
Lock l(state);
incompleteOut.remove(commands);
- state.notify();//notify any waiters of completion
+ state.notifyAll();//notify any waiters of completion
completedOut.add(commands);
//notify any waiting results of completion
results.completed(commands);