The SIGCHLD signal is sent to a process when a child process terminates, is interrupted, or resumes after being
interrupted. One common usage of the signal is to instruct the operating system to clean up the resources used by
a child process after its termination without an explicit call to the wait system call.