[fpc-pascal] SIGTERM and thread
Jorge Aldo G. de F. Junior
jagfj80 at gmail.com
Wed Jul 11 18:29:47 CEST 2012
Did you try a simpler handler ?
Maybe just set a variable and exit. Just a kind of test case...
2012/7/11 jmbottu <jm.bottura at novaxel.tm.fr>:
> 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.
> 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.
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
More information about the fpc-pascal