diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-05-28 08:04:40 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-05-28 09:00:20 -0400 |
commit | fa609c4f76f215c19ea4021e78c102dee2b8c3d1 (patch) | |
tree | cb739498f6fc9d2246630b70c708952e1cd8c592 /src | |
parent | 55b4c65bd1d829e799db7fe75fab88691830de43 (diff) | |
download | bitcoin-fa609c4f76f215c19ea4021e78c102dee2b8c3d1.tar.xz |
scheduler: Remove unused REVERSE_LOCK
No longer needed after commit d61f2bb076d8f
Diffstat (limited to 'src')
-rw-r--r-- | src/scheduler.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/scheduler.cpp b/src/scheduler.cpp index c4bd47310b..8f69bc31bf 100644 --- a/src/scheduler.cpp +++ b/src/scheduler.cpp @@ -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); |