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

Diff for /pegasus/src/Executor/Socket.c between version 1.2 and 1.2.10.1

version 1.2, 2007/05/25 18:35:07 version 1.2.10.1, 2008/02/06 20:41:55
Line 91 
Line 91 
 /* /*
 **============================================================================== **==============================================================================
 ** **
 ** _waitForReadEnable()  ** WaitForReadEnable()
 ** **
 **     Wait until the given socket is read-enabled. Returns 1 if read enabled **     Wait until the given socket is read-enabled. Returns 1 if read enabled
 **     and 0 on timed out. **     and 0 on timed out.
Line 99 
Line 99 
 **============================================================================== **==============================================================================
 */ */
  
 static int _waitForReadEnable(int sock, long timeoutMsec)  int WaitForReadEnable(int sock, long timeoutMsec)
 { {
     struct timeval timeout;     struct timeval timeout;
  
Line 162 
Line 162 
  
     while (r)     while (r)
     {     {
         int status = _waitForReadEnable(sock, TIMEOUT_MSEC);          int status = WaitForReadEnable(sock, TIMEOUT_MSEC);
         ssize_t n;         ssize_t n;
  
         if ((globals.signalMask & (1 << SIGTERM)) ||         if ((globals.signalMask & (1 << SIGTERM)) ||


Legend:
Removed from v.1.2  
changed lines
  Added in v.1.2.10.1

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2