mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-30 10:42:23 +02:00
Notify other serviceQueue thread we are finished to prevent deadlocks.
This commit is contained in:
@ -79,6 +79,7 @@ void CScheduler::serviceQueue()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
--nThreadsServicingQueue;
|
--nThreadsServicingQueue;
|
||||||
|
newTaskScheduled.notify_one();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CScheduler::stop(bool drain)
|
void CScheduler::stop(bool drain)
|
||||||
|
Reference in New Issue
Block a user