wasmtime_wasi::preview1::wasi_snapshot_preview1

Function sched_yield

Source
pub fn sched_yield(
    ctx: &mut impl WasiSnapshotPreview1,
    memory: &mut GuestMemory<'_>,
) -> Result<i32>
Available on crate feature preview1 only.