activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r824914 - in /activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/inactivity: InactivityMonitor.cpp InactivityMonitor.h ReadChecker.cpp
Date Tue, 13 Oct 2009 20:40:31 GMT
Author: tabish
Date: Tue Oct 13 20:40:31 2009
New Revision: 824914

URL: http://svn.apache.org/viewvc?rev=824914&view=rev
Log:
Fix some spelling mistakes in comments.

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/inactivity/InactivityMonitor.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/inactivity/InactivityMonitor.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/inactivity/ReadChecker.cpp

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/inactivity/InactivityMonitor.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/inactivity/InactivityMonitor.cpp?rev=824914&r1=824913&r2=824914&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/inactivity/InactivityMonitor.cpp
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/inactivity/InactivityMonitor.cpp
Tue Oct 13 20:40:31 2009
@@ -183,7 +183,7 @@
         // method - its not synchronized
         // further down the transport stack and gets called by more
         // than one thread  by this class
-        synchronized( &inWriteMutes ) {
+        synchronized( &inWriteMutex ) {
             this->inWrite.set( true );
             try {
 
@@ -241,7 +241,7 @@
 //        });
     }
 
-    commandReceived.set(false);
+    commandReceived.set( false );
 }
 
 ////////////////////////////////////////////////////////////////////////////////
@@ -269,7 +269,7 @@
 //        });
     }
 
-    commandSent.set(false);
+    commandSent.set( false );
 }
 
 ////////////////////////////////////////////////////////////////////////////////

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/inactivity/InactivityMonitor.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/inactivity/InactivityMonitor.h?rev=824914&r1=824913&r2=824914&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/inactivity/InactivityMonitor.h
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/inactivity/InactivityMonitor.h
Tue Oct 13 20:40:31 2009
@@ -69,7 +69,7 @@
         decaf::util::concurrent::atomic::AtomicBoolean inRead;
         decaf::util::concurrent::atomic::AtomicBoolean inWrite;
 
-        decaf::util::concurrent::Mutex inWriteMutes;
+        decaf::util::concurrent::Mutex inWriteMutex;
         decaf::util::concurrent::Mutex monitor;
 
         long long readCheckTime;

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/inactivity/ReadChecker.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/inactivity/ReadChecker.cpp?rev=824914&r1=824913&r2=824914&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/inactivity/ReadChecker.cpp
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/inactivity/ReadChecker.cpp
Tue Oct 13 20:40:31 2009
@@ -60,6 +60,6 @@
 
     lastRunTime = now;
 
-    // Involke the parent check routine.
+    // Invoke the parent check routine.
     this->parent->readCheck();
 }



Mime
View raw message