Skip to main content

sys_pause

Function sys_pause 

Source
pub fn sys_pause(
    _locked: &mut Locked<Unlocked>,
    current_task: &CurrentTask,
) -> Result<(), Errno>
Expand description

The pause syscall causes the calling process sleep until it receives a signal or terminates.

ยงReturns

This function never returns Ok(()) under normal circumstances. It always returns Err(EINTR).