wasmer_wasix::syscalls::wasix::sched_yield

Function sched_yield

Source
pub fn sched_yield<M: MemorySize + 'static>(
    ctx: FunctionEnvMut<'_, WasiEnv>,
) -> Result<Errno, WasiError>
Expand description

§sched_yield()

Yields execution of the thread