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).