mirror of https://github.com/Icinga/icinga2.git
parent
eb67f3779f
commit
7d8c8aac5a
|
@ -82,8 +82,7 @@ void WorkQueue::Enqueue(const Task& task, bool allowInterleaved)
|
|||
|
||||
m_Tasks.push_back(task);
|
||||
|
||||
if (m_Tasks.size() == 1)
|
||||
m_CVEmpty.notify_all();
|
||||
m_CVEmpty.notify_one();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue