activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r739424 - /activemq/activemq-cpp/branches/activemq-cpp-2.x/src/main/decaf/util/concurrent/Mutex.cpp
Date Fri, 30 Jan 2009 22:04:01 GMT
Author: tabish
Date: Fri Jan 30 22:04:00 2009
New Revision: 739424

URL: http://svn.apache.org/viewvc?rev=739424&view=rev
Log:
https://issues.apache.org/activemq/browse/AMQCPP-220

Patch to avoid leaking conditions from APR Pool

Modified:
    activemq/activemq-cpp/branches/activemq-cpp-2.x/src/main/decaf/util/concurrent/Mutex.cpp

Modified: activemq/activemq-cpp/branches/activemq-cpp-2.x/src/main/decaf/util/concurrent/Mutex.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/branches/activemq-cpp-2.x/src/main/decaf/util/concurrent/Mutex.cpp?rev=739424&r1=739423&r2=739424&view=diff
==============================================================================
--- activemq/activemq-cpp/branches/activemq-cpp-2.x/src/main/decaf/util/concurrent/Mutex.cpp
(original)
+++ activemq/activemq-cpp/branches/activemq-cpp-2.x/src/main/decaf/util/concurrent/Mutex.cpp
Fri Jan 30 22:04:00 2009
@@ -104,9 +104,7 @@
     // Create this threads wait event
     apr_thread_cond_t* waitEvent = NULL;
     apr_pool_t *subPool = NULL;
-    apr_pool_create_ex(&subPool, aprPool.getAprPool(), NULL, NULL);
-    
-
+    apr_pool_create_ex( &subPool, aprPool.getAprPool(), NULL, NULL );
     apr_thread_cond_create( &waitEvent, subPool );
 
     // Store the event in the queue so that a notify can



Mime
View raw message