ThreadPool: Add missing lock.

This commit is contained in:
Gunnar Beutner 2013-09-11 10:42:36 +02:00
parent 2ee657fb0c
commit 3261ad7106
1 changed files with 1 additions and 0 deletions

View File

@ -192,6 +192,7 @@ void ThreadPool::QueueThreadProc(int tid)
#endif /* _DEBUG */
}
boost::mutex::scoped_lock lock(m_Mutex);
UpdateThreadUtilization(tid, ThreadDead);
m_ThreadStats[tid].Zombie = false;
}