mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-21 17:42:37 +02:00
Notify other serviceQueue thread we are finished to prevent deadlocks.
This commit is contained in:
parent
db18ab28c7
commit
166e4b0dfa
@ -79,6 +79,7 @@ void CScheduler::serviceQueue()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
--nThreadsServicingQueue;
|
--nThreadsServicingQueue;
|
||||||
|
newTaskScheduled.notify_one();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CScheduler::stop(bool drain)
|
void CScheduler::stop(bool drain)
|
||||||
|
Loading…
Reference in New Issue
Block a user