mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 05:34:48 +02:00
commit
d44d06e95a
@ -49,7 +49,7 @@ void WorkQueue::Enqueue(const WorkCallback& item)
|
|||||||
{
|
{
|
||||||
boost::mutex::scoped_lock lock(m_Mutex);
|
boost::mutex::scoped_lock lock(m_Mutex);
|
||||||
|
|
||||||
ASSERT(m_Stopped);
|
ASSERT(!m_Stopped);
|
||||||
|
|
||||||
while (m_Items.size() >= m_MaxItems)
|
while (m_Items.size() >= m_MaxItems)
|
||||||
m_CV.wait(lock);
|
m_CV.wait(lock);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user