Skip to content
Snippets Groups Projects
Commit 7575d832 authored by Joakim Skogø Langvand's avatar Joakim Skogø Langvand
Browse files

Cleanup

parent 83d567f1
No related branches found
No related tags found
No related merge requests found
......@@ -74,7 +74,6 @@ namespace jlworkers {
m_running = true;
m_runnerThread = std::thread([this] {
while (m_running) {
//while (!m_queue.empty()) {
while (m_runningThreadCount < m_maxThreadCount && !m_queue.empty()) {
// Fetch next task in queue
auto f = *m_queue.begin();
......@@ -89,7 +88,6 @@ namespace jlworkers {
m_runningCondition.notify_all();
}));
}
//}
// Wait for any status updates
std::unique_lock<std::mutex> lock(m_runningMutex);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment