(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.61 and 1.62

version 1.61, 2003/10/13 14:21:09 version 1.62, 2003/10/16 22:46:41
Line 227 
Line 227 
        }        }
     }     }
  
       // Fixed in monitor_2 but added because Monitor is still the default monitor.
       // When fdread.fd_count is 0 don't imediatly return, otherwize this loops out of control
       // kicking off kill idle thread threads.  E.g. There is nothing to select on when the cimserver
       // is shutting down.
       if( fdread.fd_count == 0 )
       {
           Thread::sleep( milliseconds );
           _entry_mut.unlock();
           return false;
       }
   
     _entry_mut.unlock();     _entry_mut.unlock();
     int events = select(FD_SETSIZE, &fdread, NULL, NULL, &tv);     int events = select(FD_SETSIZE, &fdread, NULL, NULL, &tv);
    _entry_mut.lock(pegasus_thread_self());    _entry_mut.lock(pegasus_thread_self());


Legend:
Removed from v.1.61  
changed lines
  Added in v.1.62

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2