pub fn collect_zombie(
child_pid: ProcessId,
parent_pid: ProcessId,
) -> Result<(), KernelError>Expand description
Clean up a zombie process after a successful wait.
Removes the child from the parent’s children list and from the global process table.