wasi
pub unsafe fn sched_yield() -> Result<()>
Temporarily yield execution of the calling thread. Note: This is similar to sched_yield in POSIX.
sched_yield