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

Diff for /pegasus/src/Pegasus/Common/Semaphore.cpp between version 1.20 and 1.21

version 1.20, 2010/01/07 05:21:45 version 1.21, 2011/03/02 15:07:44
Line 193 
Line 193 
     {     {
         int r = pthread_cond_timedwait(&_rep.cond, &_rep.mutex, &waittime);         int r = pthread_cond_timedwait(&_rep.cond, &_rep.mutex, &waittime);
  
         if (((r == -1 && errno == ETIMEDOUT) || (r == ETIMEDOUT)) &&  #ifdef PEGASUS_OS_ZOS
             _rep.count == 0)          if (((r==-1 && errno==EAGAIN) || (r==ETIMEDOUT)) && _rep.count==0)
   #else
           if (((r==-1 && errno==ETIMEDOUT) || (r==ETIMEDOUT)) && _rep.count==0)
   #endif
         {         {
             timedOut = true;             timedOut = true;
         }         }


Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2