(file) Return to cimserver_unix.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Server / Attic

Diff for /pegasus/src/Server/Attic/cimserver_unix.cpp between version 1.25 and 1.26

version 1.25, 2004/01/14 14:08:04 version 1.26, 2004/06/29 16:43:36
Line 209 
Line 209 
   // happen after a system reboot.  If the pids are the same, cimserver   // happen after a system reboot.  If the pids are the same, cimserver
   // isn't really running.   // isn't really running.
   //   //
   pid_t mypid = getpid();    Uint32 mypid = System::getPID();
   if (mypid == pid)    if ((mypid == pid) || (parentPid == pid))
   {   {
       return -1;       return -1;
   }   }
Line 376 
Line 376 
       // process, this could happen after a system reboot.  If the pids are       // process, this could happen after a system reboot.  If the pids are
       // the same, cimserver isn't really running.       // the same, cimserver isn't really running.
       //       //
       pid_t mypid = getpid();        Uint32 mypid = System::getPID();
       if (mypid != pid)        if ((mypid != pid) && (parentPid != pid))
       {       {
           // cimserver is running           // cimserver is running
           return true;           return true;


Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2