abnormally (e.g. the process terminates as the result of a signal's being set)
In some operating systems, if a parent process dies,
then all of its child processes die too.
This isn't the case in QNX Neutrino.
Normal process termination
A process can terminate itself by having any thread in the process call exit().
Abnormal process termination
A process can be terminated abnormally for a number of reasons. Ultimately, all of these reasons will result in a signal's being set on the process. A signal is something that can interrupt the flow of your threads at any time. The default action for most signals is to
terminate the process.