mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-29 12:18:01 +01:00
SF# 3379935
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user