Page MenuHomePhabricator

random: mark RandAddPeriodic and SeedPeriodic as noexcept
ClosedPublic

Authored by Fabien on May 21 2020, 21:23.

Details

Summary
The usage of MilliSleep() in SeedPeriodic (previously SeedSleep) was
removed in #17270, meaning it, and its users can now be marked noexcept.

This also corrects the docs in random.h for some of the changes in #17270.

Backport of core PR17507.

Depends on D6209.

Test Plan
ninja all check-all

Diff Detail

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

Event Timeline

Fabien requested review of this revision.May 21 2020, 21:23

[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.May 21 2020, 21:49