Browse Source

Notify other serviceQueue thread we are finished to prevent deadlocks.

0.13
Pavel Janík 9 years ago
parent
commit
166e4b0dfa
  1. 1
      src/scheduler.cpp

1
src/scheduler.cpp

@ -79,6 +79,7 @@ void CScheduler::serviceQueue() @@ -79,6 +79,7 @@ void CScheduler::serviceQueue()
}
}
--nThreadsServicingQueue;
newTaskScheduled.notify_one();
}
void CScheduler::stop(bool drain)

Loading…
Cancel
Save