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

Diff for /pegasus/src/Service/ServerProcessUnix.cpp between version 1.11 and 1.11.16.4

version 1.11, 2006/08/09 21:13:11 version 1.11.16.4, 2006/12/27 20:29:21
Line 55 
Line 55 
 #define PROCSIZE sizeof(struct procsinfo) #define PROCSIZE sizeof(struct procsinfo)
 } }
 #endif #endif
   #include <Pegasus/ExecutorClient/ExecutorClient.h>
  
 PEGASUS_USING_PEGASUS; PEGASUS_USING_PEGASUS;
 PEGASUS_USING_STD; PEGASUS_USING_STD;
Line 154 
Line 155 
       exit(graveError);       exit(graveError);
   }   }
  
   
   setsid();   setsid();
   umask(S_IRWXG | S_IRWXO );   umask(S_IRWXG | S_IRWXO );
  
Line 163 
Line 165 
  
   // get the pid of the cimserver process   // get the pid of the cimserver process
   server_pid = getpid();   server_pid = getpid();
   
       // Ask the executor process to daemonize.
       ExecutorClient::daemonizeExecutor();
   
   return(0);   return(0);
 } }
  
Line 466 
Line 472 
     if (aixcimsrvrunning(pid, getProcessName())!=-1)     if (aixcimsrvrunning(pid, getProcessName())!=-1)
         return true;         return true;
 #endif #endif
   
   return false;   return false;
 } }
  


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

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2