Skip to main content

wait_for_state

Function wait_for_state 

Source
fn wait_for_state(
    want: &str,
    timeout: Duration,
    interrupted: &AtomicBool,
) -> bool
Expand description

Poll the sched_ext state until it equals want or the timeout elapses.