You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gs...@apache.org on 2008/10/31 15:25:19 UTC
svn commit: r709429 -
/incubator/qpid/trunk/qpid/cpp/src/qpid/client/SessionImpl.cpp
Author: gsim
Date: Fri Oct 31 07:25:19 2008
New Revision: 709429
URL: http://svn.apache.org/viewvc?rev=709429&view=rev
Log:
Fix intermittent hanging where two threads are waiting for completions on the same session.
Modified:
incubator/qpid/trunk/qpid/cpp/src/qpid/client/SessionImpl.cpp
Modified: incubator/qpid/trunk/qpid/cpp/src/qpid/client/SessionImpl.cpp
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/cpp/src/qpid/client/SessionImpl.cpp?rev=709429&r1=709428&r2=709429&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/cpp/src/qpid/client/SessionImpl.cpp (original)
+++ incubator/qpid/trunk/qpid/cpp/src/qpid/client/SessionImpl.cpp Fri Oct 31 07:25:19 2008
@@ -542,7 +542,7 @@
{
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);