[mapguide-commits] r4596 - sandbox/adsk/2.2gp/Server/src/Core

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Fri Feb 12 17:14:16 EST 2010


Author: brucedechant
Date: 2010-02-12 17:14:15 -0500 (Fri, 12 Feb 2010)
New Revision: 4596

Modified:
   sandbox/adsk/2.2gp/Server/src/Core/Server.cpp
Log:
Fix for trac ticket 1272 - Change ACE WFMO reactor used by Windows to the ACE SELECT reactor
http://trac.osgeo.org/mapguide/ticket/1272

Notes:
- Update comment based on code review


Modified: sandbox/adsk/2.2gp/Server/src/Core/Server.cpp
===================================================================
--- sandbox/adsk/2.2gp/Server/src/Core/Server.cpp	2010-02-12 21:42:29 UTC (rev 4595)
+++ sandbox/adsk/2.2gp/Server/src/Core/Server.cpp	2010-02-12 22:14:15 UTC (rev 4596)
@@ -727,7 +727,10 @@
         {
             report_status(SERVICE_RUNNING);
 
-            // We need to make this thread the owner of the ACE reactor
+            // By default the executeable is the thread owner, but when this is being run as a 
+            // service the Windows Service Control Manager becomes the default thread owner.
+            // We need to make this thread the owner of the ACE reactor because this is a 
+            // requirement of the ACE SELECT reactor.
             ACE_Reactor::instance()->owner(ACE_Thread::self());
         }
         #endif



More information about the mapguide-commits mailing list