HomePhabricator

Use thread-safe atomic in perfmon seeder

Description

Use thread-safe atomic in perfmon seeder

Summary:

Also switch to chrono based types.

Partial backport of core PR17270:
https://github.com/bitcoin/bitcoin/pull/17270/commits/64e1e022cedf6776c5dffd488ca2e766adca5dc3

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

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

Details

Provenance
Pieter Wuille <pieter.wuille@gmail.com>Authored on Oct 29 2019, 19:35
FabienCommitted on May 22 2020, 11:45
FabienPushed on May 22 2020, 11:46
Reviewer
Restricted Project
Differential Revision
D6208: Use thread-safe atomic in perfmon seeder
Parents
rABC88aae1e03756: Run background seeding periodically instead of unpredictably
Branches
Unknown
Tags
Unknown