Skip to main content

hold

Function hold 

Source
pub fn hold(ctx: &ServiceContext, d: Budget)
Expand description

Hold for at least d. Spins on a calibrated machine; sleeps whole scheduler quanta on one that is not. See the module documentation.