kernel: send SIGCHLD

This commit is contained in:
K. Lange 2018-10-30 15:37:47 +09:00
parent c3b841d13c
commit 7a935f2834

View File

@ -516,6 +516,7 @@ void task_exit(int retval) {
process_t * parent = process_get_parent((process_t *)current_process);
if (parent && !parent->finished) {
send_signal(parent->group, SIGCHLD, 1);
wakeup_queue(parent->wait_queue);
}