Expand description
This file contains Miriβs scheduler, which is in charge of picking the next thread to run when the current thread blocks/yields. It also manages timeouts and runs an async event loop to deal with host I/O. In GenMC mode, it handles delegating schedule control to GenMC.
Re-exportsΒ§
use std::cell::RefCell;πuse std::fmt;πuse std::sync::atomic::Ordering;πuse std::task::Poll;πuse std::time::Duration;πuse rand::seq::IteratorRandom;πuse rustc_const_eval::CTRL_C_RECEIVED;πuse rustc_index::Idx;πuse rustc_span::DUMMY_SP;πuse crate::*;π
StructsΒ§
- Delayed
Callbacks - When we need to perform an operation but donβt have an
ecxaround to run it immediately, we can register a callback here and it will be invoked on the next scheduler call.
EnumsΒ§
- Scheduling
Action π