Trait miri::concurrency::thread::MachineCallback
source · [−]pub trait MachineCallback<'mir, 'tcx>: VisitTags {
fn call(
&self,
ecx: &mut InterpCx<'mir, 'tcx, MiriMachine<'mir, 'tcx>>
) -> InterpResult<'tcx>;
}Expand description
Timeout callbacks can be created by synchronization primitives to tell the scheduler that they should be called once some period of time passes.