Use notify_one in WorkQueue::Enqueue

fixes #10639
This commit is contained in:
Gunnar Beutner 2015-11-16 08:13:55 +01:00
parent eb67f3779f
commit 7d8c8aac5a
1 changed files with 1 additions and 2 deletions

View File

@ -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();
}
/**