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

Diff for /pegasus/src/Pegasus/Common/ThreadPool.cpp between version 1.6 and 1.8

version 1.6, 2007/02/09 18:32:20 version 1.8, 2007/03/14 17:27:47
Line 373 
Line 373 
  
     Uint32 numThreadsCleanedUp = 0;     Uint32 numThreadsCleanedUp = 0;
  
     size_t numIdleThreads = _idleThreads.size();      Uint32 numIdleThreads = _idleThreads.size();
     for (size_t i = 0; i < numIdleThreads; i++)      for (Uint32 i = 0; i < numIdleThreads; i++)
     {     {
         // Do not dip below the minimum thread count         // Do not dip below the minimum thread count
         if (_currentThreads.get() <= (Uint32) _minThreads)         if (_currentThreads.get() <= (Uint32) _minThreads)
Line 513 
Line 513 
         return 0;         return 0;
     }     }
     _currentThreads++;     _currentThreads++;
     Threads::yield();  
  
     PEG_METHOD_EXIT();     PEG_METHOD_EXIT();
     return th;     return th;


Legend:
Removed from v.1.6  
changed lines
  Added in v.1.8

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2