From 40c035e8e5172410e9f77c7db969c8637f967cae 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@709429 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/qpid/client/SessionImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qpid/cpp/src') 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); -- cgit v1.2.1