(file) Return to ServerRunStatus.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Service

Diff for /pegasus/src/Service/ServerRunStatus.cpp between version 1.10 and 1.11

version 1.10, 2008/12/02 09:02:57 version 1.11, 2009/02/27 08:39:08
Line 32 
Line 32 
 #include <Pegasus/Common/System.h> #include <Pegasus/Common/System.h>
 #include <Pegasus/Common/Signal.h> #include <Pegasus/Common/Signal.h>
 #include <Pegasus/Common/AutoPtr.h> #include <Pegasus/Common/AutoPtr.h>
   #include <Pegasus/Common/Exception.h>
 #include <Service/PidFile.h> #include <Service/PidFile.h>
 #include <Service/ServerRunStatus.h> #include <Service/ServerRunStatus.h>
  
Line 100 
Line 101 
     if (_event == NULL)     if (_event == NULL)
     {     {
         _event = CreateEvent(NULL, TRUE, TRUE, _serverName);         _event = CreateEvent(NULL, TRUE, TRUE, _serverName);
           if (_event == NULL)
           {
               throw Exception(MessageLoaderParms(
                   "src.Server.cimserver_windows.EVENT_CREATION_FAILED",
                   "Event Creation Failed : $0.",
                   PEGASUS_SYSTEM_ERRORMSG_NLS));
           }
         if ((_event != NULL) && (GetLastError() != ERROR_ALREADY_EXISTS))         if ((_event != NULL) && (GetLastError() != ERROR_ALREADY_EXISTS))
         {         {
             _wasAlreadyRunning = false;             _wasAlreadyRunning = false;


Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2