3 ms·
Fascinating; kill -9 is now the official way to terminate an application. To support improved shutdown, your application needs to mark itself as “dirty” or “cl
by gcv 17y ago
Fascinating; kill -9 is now the official way to terminate an application.
To support improved shutdown, your application needs to mark itself as “dirty” or “clean,” depending on whether it has unsaved changes and needs to do work before quitting, or can be terminated without further notice. When the system shuts down, clean applications are terminated (via SIGKILL) without further interaction.
- wmf 17y agoSounds fine to me. I heard of this idea a few years ago: http://en.wikipedia.org/wiki/Crash-only_software http://en.wikipedia.org/wiki/Crash-only_software http://lwn.net/Articles/191059/ http://lwn.net/Articles/191059/