Trait spinning_top::relax::Relax
source · pub trait Relax: Default {
// Required method
fn relax(&mut self);
}
Expand description
A relax strategy.
Relax
types are used to relax the current thread during contention.
Required Methods§
Object Safety§
This trait is not object safe.