Page MenuHomePhabricator

scheduler: don't rely on boost interrupt on shutdown
ClosedPublic

Authored by deadalnix on Jun 11 2020, 11:51.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC014e5697a60a: scheduler: don't rely on boost interrupt on shutdown
Summary

Calling interrupt_all() will immediately stop the scheduler, so it's
safe to invoke stop() beforehand, and this removes the reliance on boost
to interrupt serviceQueue().

This is a partial abckport of Core PR18234 : https://github.com/bitcoin/bitcoin/pull/18234/commits/306f71b4eb4a0fd8e64f47dc008bc235b80b13d9

Test Plan
ninja all check-all

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

[Bot Message]
One or more PR numbers were detected in the summary.
Links to those PRs have been inserted into the summary for reference.

This revision is now accepted and ready to land.Jun 11 2020, 12:41