version 1.4, 2006/11/10 18:14:58
|
version 1.5, 2007/01/11 16:21:54
|
|
|
| |
Uint32 numThreadsCleanedUp = 0; | Uint32 numThreadsCleanedUp = 0; |
| |
Uint32 numIdleThreads = _idleThreads.size(); |
size_t numIdleThreads = _idleThreads.size(); |
for (Uint32 i = 0; i < numIdleThreads; i++) |
for (size_t 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) |