Function wasi::wasi_snapshot_preview1::sched_yield
source · [−]pub unsafe extern "C" fn sched_yield() -> i32
Expand description
Temporarily yield execution of the calling thread.
Note: This is similar to sched_yield
in POSIX.