HomePhabricator

scheduler: Replace stop(true) with StopWhenDrained()

Description

scheduler: Replace stop(true) with StopWhenDrained()

Summary:
This helps understanding the code at the call site without having to
look up the name of the argument or the default value.

This is a backport of core#19090 [5/6]
https://github.com/bitcoin/bitcoin/pull/19090/commits/fac43f9889f500bcb62d830c030dec42fe791031

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, majcosta

Reviewed By: #bitcoin_abc, majcosta

Differential Revision: https://reviews.bitcoinabc.org/D9959

Details

Provenance
MarcoFalke <falke.marco@gmail.com>Authored on May 28 2020, 12:43
PiRKCommitted on Aug 27 2021, 07:56
PiRKPushed on Aug 27 2021, 07:56
Reviewer
Restricted Project
Differential Revision
D9959: scheduler: Replace stop(true) with StopWhenDrained()
Parents
rABC16a035e7e736: doc: Remove unused documentation about unimplemented features
Branches
Unknown
Tags
Unknown