mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-14 07:09:49 +02:00
Merge pull request #6171
bdcf5de Fix intermittent hang issue in scheduler_tests (Wladimir J. van der Laan)
This commit is contained in:
commit
4bf83b27b2
@ -29,8 +29,6 @@ void CScheduler::serviceQueue()
|
||||
{
|
||||
boost::unique_lock<boost::mutex> lock(newTaskMutex);
|
||||
++nThreadsServicingQueue;
|
||||
stopRequested = false;
|
||||
stopWhenEmpty = false;
|
||||
|
||||
// newTaskMutex is locked throughout this loop EXCEPT
|
||||
// when the thread is waiting or when the user's function
|
||||
|
Loading…
x
Reference in New Issue
Block a user