trait RequestYield: Send + Sync {
// Required method
fn request_yield(&self, vp_index: VpIndex);
}
Required Methods§
Sourcefn request_yield(&self, vp_index: VpIndex)
fn request_yield(&self, vp_index: VpIndex)
Forces the run_vp call to yield to the scheduler (i.e. return Poll::Pending).