scheduler: Remove unused REVERSE_LOCK

No longer needed after commit d61f2bb076
pull/19090/head
MarcoFalke 5 years ago
parent 55b4c65bd1
commit fa609c4f76
No known key found for this signature in database
GPG Key ID: CE2B75697E69A548

@ -30,9 +30,6 @@ void CScheduler::serviceQueue()
// is called.
while (!shouldStop()) {
try {
if (!shouldStop() && taskQueue.empty()) {
REVERSE_LOCK(lock);
}
while (!shouldStop() && taskQueue.empty()) {
// Wait until there is something to do.
newTaskScheduled.wait(lock);

Loading…
Cancel
Save