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