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

Diff for /pegasus/src/Pegasus/Common/Executor.cpp between version 1.9 and 1.10

version 1.9, 2007/07/24 19:42:03 version 1.10, 2007/07/25 19:43:48
Line 803 
Line 803 
     virtual int reapProviderAgent(     virtual int reapProviderAgent(
         int pid)         int pid)
     {     {
         AutoMutex autoMutex(_mutex);          // The Executor process automatically cleans up all its child
           // processes, so it does not need to explicitly harvest the
         // Send request header:          // exit status of the cimprovagt processes it starts.
   
         ExecutorRequestHeader header;  
         header.code = EXECUTOR_REAP_PROVIDER_AGENT_MESSAGE;  
   
         if (SendBlock(_sock, &header, sizeof(header)) != sizeof(header))  
             return -1;  
   
         // Send request body:  
   
         ExecutorReapProviderAgentRequest request;  
         memset(&request, 0, sizeof(request));  
         request.pid = pid;  
   
         if (SendBlock(_sock, &request, sizeof(request)) != sizeof(request))  
             return -1;  
   
         // Receive the response  
  
         ExecutorReapProviderAgentResponse response;          return 0;
   
         if (RecvBlock(_sock, &response, sizeof(response)) != sizeof(response))  
             return -1;  
   
         return response.status;  
     }     }
  
     virtual int authenticatePassword(     virtual int authenticatePassword(


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

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2