mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-19 06:43:45 +01:00
scheduler: Remove unused REVERSE_LOCK
No longer needed after commit d61f2bb076
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user