pub unsafe fn sched_yield() -> Result<(), i32> ⓘ
dep_nc
Yield the processor.
let ret = unsafe { nc::sched_yield() }; assert!(ret.is_ok());