We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55b4c65 commit fa609c4Copy full SHA for fa609c4
src/scheduler.cpp
@@ -30,9 +30,6 @@ void CScheduler::serviceQueue()
30
// is called.
31
while (!shouldStop()) {
32
try {
33
- if (!shouldStop() && taskQueue.empty()) {
34
- REVERSE_LOCK(lock);
35
- }
36
while (!shouldStop() && taskQueue.empty()) {
37
// Wait until there is something to do.
38
newTaskScheduled.wait(lock);
0 commit comments