activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1413929 - in /activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport: IOTransport.cpp inactivity/InactivityMonitor.cpp
Date Mon, 26 Nov 2012 23:25:22 GMT
Author: tabish
Date: Mon Nov 26 23:25:21 2012
New Revision: 1413929

URL: http://svn.apache.org/viewvc?rev=1413929&view=rev
Log:
Give the Timers and Threads better thread names.

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

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/IOTransport.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/IOTransport.cpp?rev=1413929&r1=1413928&r2=1413929&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/IOTransport.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/IOTransport.cpp Mon
Nov 26 23:25:21 2012
@@ -140,7 +140,7 @@ void IOTransport::start() {
         }
 
         // Start the polling thread.
-        thread.reset(new Thread(this));
+        thread.reset(new Thread(this, "IOTransport reader Thread"));
         thread->start();
     }
     AMQ_CATCH_RETHROW(IOException)

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=1413929&r1=1413928&r2=1413929&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
Mon Nov 26 23:25:21 2012
@@ -103,8 +103,8 @@ namespace inactivity{
                                   remoteWireFormatInfo(),
                                   readCheckerTask(),
                                   writeCheckerTask(),
-                                  readCheckTimer(),
-                                  writeCheckTimer(),
+                                  readCheckTimer("InactivityMonitor Read Check Timer"),
+                                  writeCheckTimer("InactivityMonitor Write Check Timer"),
                                   asyncTasks(),
                                   asyncReadTask(),
                                   asyncWriteTask(),



Mime
View raw message