Source code

Revision control

Copy as Markdown

Other Tools

use crate::backend;
/// `sched_yield()`—Hints to the OS that other processes should run.
///
/// This function always succeeds.
///
/// # References
/// - [POSIX]
/// - [Linux]
///
#[inline]
pub fn sched_yield() {
backend::process::syscalls::sched_yield()
}