Skip to content

Commit fa609c4

Browse files
author
MarcoFalke
committed
scheduler: Remove unused REVERSE_LOCK
No longer needed after commit d61f2bb
1 parent 55b4c65 commit fa609c4

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/scheduler.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ void CScheduler::serviceQueue()
3030
// is called.
3131
while (!shouldStop()) {
3232
try {
33-
if (!shouldStop() && taskQueue.empty()) {
34-
REVERSE_LOCK(lock);
35-
}
3633
while (!shouldStop() && taskQueue.empty()) {
3734
// Wait until there is something to do.
3835
newTaskScheduled.wait(lock);

0 commit comments

Comments
 (0)