mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
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…
x
Reference in New Issue
Block a user