activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1444250 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/locks/AbstractQueuedSynchronizer.cpp
Date Fri, 08 Feb 2013 21:51:32 GMT
Author: tabish
Date: Fri Feb  8 21:51:32 2013
New Revision: 1444250

URL: http://svn.apache.org/r1444250
Log:
set size to zero when pool is drained. 

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/locks/AbstractQueuedSynchronizer.cpp

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/locks/AbstractQueuedSynchronizer.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/locks/AbstractQueuedSynchronizer.cpp?rev=1444250&r1=1444249&r2=1444250&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/locks/AbstractQueuedSynchronizer.cpp
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/locks/AbstractQueuedSynchronizer.cpp
Fri Feb  8 21:51:32 2013
@@ -265,6 +265,8 @@ namespace {
                 delete node;
             }
 
+            this->size = 0;
+
             PlatformThread::unlockMutex(lock);
 
             PlatformThread::destroyMutex(lock);



Mime
View raw message