[fpc-pascal] more questions regarding linux signals
Sven Barth
pascaldragon at googlemail.com
Wed Jan 4 14:22:13 CET 2012
Am 04.01.2012 14:20, schrieb Sven Barth:
> Am 04.01.2012 14:14, schrieb ik:
>> Another question, is it possible to use exitproc if SIGKILL is sent, or
>> there is nothing I can do at all ?
>
> SIGKILL is supposed to be the "last resort" of the system (or the user).
> If it would be possible for the app to react on SIGKILL it could do
> things which would delay the termination of the app. SIGKILL kills the
> process immediatly. Without excuses (like killing an application using
> the Windows task manager).
Before I forget it: If you want to react on normal termination of the
program you should hook SIGTERM.
Regards,
Sven
More information about the fpc-pascal
mailing list