[fpc-pascal] SIGTERM and thread

jmbottu jm.bottura at novaxel.tm.fr
Wed Jul 11 10:46:26 CEST 2012


Hello,
I wrote a handler to intercept the SIGTERM signal and execute some
processing before terminating the program.
It works fine.

But when i add the cthreads unit in the uses clause, the application seems
to do a shutdown after the end of the handler function, and the processing
before terminating the program can no longer run.

Thanks in advance for your help.
Jean-Marc

--
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/SIGTERM-and-thread-tp5710294.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.



More information about the fpc-pascal mailing list