mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
ThreadPool: Add missing lock.
This commit is contained in:
parent
2ee657fb0c
commit
3261ad7106
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user