Searched refs:child_proc (Results 1 – 1 of 1) sorted by relevance
505 struct process_control_block *child_proc = NULL; in sys_wait4() local511 child_proc = process_find_pcb_by_pid(pid); in sys_wait4()513 if (child_proc == NULL) in sys_wait4()521 while (child_proc->state != PROC_ZOMBIE) in sys_wait4()526 *status = child_proc->exit_code; in sys_wait4()529 process_release_pcb(child_proc); in sys_wait4()