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

Diff for /pegasus/src/Pegasus/Common/Monitor.cpp between version 1.35 and 1.36

version 1.35, 2002/11/12 18:52:07 version 1.36, 2002/11/13 21:36:52
Line 171 
Line 171 
     Boolean handled_events = false;     Boolean handled_events = false;
     int i = 0;     int i = 0;
  
 #ifdef PEGASUS_OS_TYPE_WINDOWS  #if defined(PEGASUS_OS_OS400) || defined(PEGASUS_OS_HPUX)
     // Using the specified timeout value causes Windows platforms to spin in a  
     // tight loop consuming 100% of the CPU cycles.  
     struct timeval tv = {0, 1};  
 #else  
     struct timeval tv = {milliseconds/1000, milliseconds%1000*1000};     struct timeval tv = {milliseconds/1000, milliseconds%1000*1000};
   #else
       struct timeval tv = {0, 1};
 #endif #endif
     fd_set fdread;     fd_set fdread;
     FD_ZERO(&fdread);     FD_ZERO(&fdread);


Legend:
Removed from v.1.35  
changed lines
  Added in v.1.36

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2