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

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...


impl RelaxStrategy for Loop[src]

impl RelaxStrategy for Spin[src]

impl RelaxStrategy for Yield[src]

This is supported on crate feature std only.
Loading content...