qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arnaudsi...@apache.org
Subject svn commit: r591953 - /incubator/qpid/trunk/qpid/java/common/src/main/java/org/apache/qpidity/transport/Session.java
Date Mon, 05 Nov 2007 10:48:19 GMT
Author: arnaudsimon
Date: Mon Nov  5 02:48:18 2007
New Revision: 591953

URL: http://svn.apache.org/viewvc?rev=591953&view=rev
Log:
Changed for synchronizing on results during close operation

Modified:
    incubator/qpid/trunk/qpid/java/common/src/main/java/org/apache/qpidity/transport/Session.java

Modified: incubator/qpid/trunk/qpid/java/common/src/main/java/org/apache/qpidity/transport/Session.java
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/common/src/main/java/org/apache/qpidity/transport/Session.java?rev=591953&r1=591952&r2=591953&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/java/common/src/main/java/org/apache/qpidity/transport/Session.java
(original)
+++ incubator/qpid/trunk/qpid/java/common/src/main/java/org/apache/qpidity/transport/Session.java
Mon Nov  5 02:48:18 2007
@@ -396,7 +396,10 @@
         {
             for (ResultFuture<?> result : results.values())
             {
-                result.notifyAll();
+                synchronized(result)
+                {
+                    result.notifyAll();
+                }
             }
         }
     }



Mime
View raw message