-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
During the work to expose more free functions on Instant
and add mock ability, we created a small rift between Clock
and Instant
.
Primarily, we have three issues:
Instant::recent
will fallback to the global clock, whileClock::recent
won'tInstant::recent
is an acquire load, whileClock::recent
is a relaxed loadquanta::set_recent
andClock::upkeep
aren't DRY (small problem, but still)
We should unify these codepaths so that we're limiting the chance for differences in behavior, as well as switching entirely to relaxed loads for "recent" time to ensure maximum performance.
Metadata
Metadata
Assignees
Labels
No labels