If I ctrl-c a program at the terminal, Linux will send a SIGTERM to all members of the process group. Is the order each process recieves the signal well defined?
Eg: if I have a process tree something like this (<-- denotes [parent] <-- [child])
[PID 2] <-- [PID 3] <-- [PID 4]
\_ [PID 5]
|_[PID 6]
Will pids 4,5,6 receive the signal first, sending a SIGCHLD To pid 3? And then pid 3 and pid 2?