summaryrefslogtreecommitdiff
path: root/cpp/src
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
commit2ff919b2bf8623b6bf542e589aae4c05c403a009 (patch)
treee4e71ebfcddd873a8fa5be49c2ba84c303b9ce44 /cpp/src
parentf6af982851f804589793fd05207ee11eaa8ae984 (diff)
downloadqpid-python-2ff919b2bf8623b6bf542e589aae4c05c403a009.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/qpid@709429 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/qpid/client/SessionImpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/client/SessionImpl.cpp b/cpp/src/qpid/client/SessionImpl.cpp
index 2d0f83b894..08e405565a 100644
--- a/cpp/src/qpid/client/SessionImpl.cpp
+++ b/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);