activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r749838 - in /activemq/activemq-cpp/branches/activemq-cpp-2.x/src/main/decaf: internal/AprPool.h util/concurrent/Mutex.h
Date Tue, 03 Mar 2009 23:27:10 GMT
Author: tabish
Date: Tue Mar  3 23:27:10 2009
New Revision: 749838

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

Make mutex and apr pool class non copyable.

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

Modified: activemq/activemq-cpp/branches/activemq-cpp-2.x/src/main/decaf/internal/AprPool.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/branches/activemq-cpp-2.x/src/main/decaf/internal/AprPool.h?rev=749838&r1=749837&r2=749838&view=diff
==============================================================================
--- activemq/activemq-cpp/branches/activemq-cpp-2.x/src/main/decaf/internal/AprPool.h (original)
+++ activemq/activemq-cpp/branches/activemq-cpp-2.x/src/main/decaf/internal/AprPool.h Tue
Mar  3 23:27:10 2009
@@ -38,6 +38,11 @@
          */
         mutable apr_pool_t* aprPool;
 
+    protected:
+
+        AprPool( const AprPool& source );
+        AprPool& operator= ( const AprPool& source );
+
     public:
 
         AprPool();

Modified: activemq/activemq-cpp/branches/activemq-cpp-2.x/src/main/decaf/util/concurrent/Mutex.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/branches/activemq-cpp-2.x/src/main/decaf/util/concurrent/Mutex.h?rev=749838&r1=749837&r2=749838&view=diff
==============================================================================
--- activemq/activemq-cpp/branches/activemq-cpp-2.x/src/main/decaf/util/concurrent/Mutex.h
(original)
+++ activemq/activemq-cpp/branches/activemq-cpp-2.x/src/main/decaf/util/concurrent/Mutex.h
Tue Mar  3 23:27:10 2009
@@ -56,6 +56,11 @@
         volatile unsigned long lock_owner;
         volatile unsigned long lock_count;
 
+    protected:
+
+        Mutex( const Mutex& source );
+        Mutex& operator= ( const Mutex& source );
+
     public:
 
         /**



Mime
View raw message