Struct atomic_interval::AtomicIntervalLight [−][src]
pub struct AtomicIntervalLight { /* fields omitted */ }Expand description
A relaxed version of AtomicInterval: for more information check that.
All Ordering are implicit: Ordering::Relaxed.
On some architecture this version is allowed to spuriously fail.
It means AtomicIntervalLight::is_ticked might return false even if
the period amount of time has passed.
It can result in more efficient code on some platforms.
Implementations
Creates a new AtomicIntervalLight with a fixed period interval.
Changes the period of this interval.