From 2ff919b2bf8623b6bf542e589aae4c05c403a009 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Fri, 31 Oct 2008 14:25:19 +0000 Subject: 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 --- cpp/src/qpid/client/SessionImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src') 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); -- cgit v1.2.1