[][src]Trait spin::relax::RelaxStrategy

pub trait RelaxStrategy {
    fn relax();
}

A trait implemented by spinning relax strategies.

Required methods

fn relax()[src]

Perform the relaxing operation during a period of contention.

Loading content...

Implementors

impl RelaxStrategy for Loop[src]

impl RelaxStrategy for Spin[src]

Loading content...