mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-01 02:29:36 +01:00
test: Fix typo
This commit is contained in:
@@ -426,7 +426,7 @@ BOOST_AUTO_TEST_CASE(stop_active_wait_drains_queue)
|
||||
}
|
||||
BOOST_CHECK_EQUAL(threadPool.WorkQueueSize(), num_tasks);
|
||||
|
||||
// Delay release so Stop() drain all tasks from the calling thread
|
||||
// Delay release so Stop() drains all tasks from the calling thread
|
||||
std::thread unblocker([&blocker, &threadPool]() {
|
||||
while (threadPool.WorkQueueSize() > 0) {
|
||||
std::this_thread::yield();
|
||||
|
||||
Reference in New Issue
Block a user