Code review comment for lp:~marcustomlinson/unity8/scope-tool-unix-signals

Michi Henning (michihenning) wrote :

The old adage still applies: pretty much the only thing UNIX signals are good for is shooting a process dead. Try to do anything else whatsoever with them, and things very rapidly get very complicated and buggy :-(

You might be able to use prctl(PR_SET_PDEATHSIG, SIGTERM) do propagate parent death.
Making the registry a process group leader with setpgid() would also be helpful, I suspect.

« Back to merge proposal