twizzler_abi::syscall

Function sys_thread_yield

source
pub fn sys_thread_yield()
Expand description

Yield the thread’s CPU time now. The actual effect of this is unspecified, but it acts as a hint to the kernel that this thread does not need to run right now. The kernel, of course, is free to ignore this hint.