pub fn sleep_current_process(
    time: ClockTime,
    all_state: &mut InterruptAllSavedState
)