fn finalize_forced_death( sched: &mut GlobalSchedState, task_id: TaskId, exit_code: i32, task_pid: Pid, ) -> (Option<TaskId>, Option<usize>)
Performs the finalize forced death operation.