SF# 3379935

This commit is contained in:
Marian Krivos
2011-08-17 06:55:24 +00:00
parent d21cc6edc9
commit 51db1d296c

View File

@@ -449,8 +449,8 @@ PooledThread* ThreadPool::getThread()
if (_threads.size() < _maxCapacity) if (_threads.size() < _maxCapacity)
{ {
pThread = createThread(); pThread = createThread();
_threads.push_back(pThread);
pThread->start(); pThread->start();
_threads.push_back(pThread);
} }
else throw NoThreadAvailableException(); else throw NoThreadAvailableException();
} }