Trait spin::relax::RelaxStrategy

source ·
pub trait RelaxStrategy {
    // Required method
    fn relax();
}
Expand description

A trait implemented by spinning relax strategies.

Required Methods§

source

fn relax()

Perform the relaxing operation during a period of contention.

Implementors§