Do we have it? And if not, what's the available solution for windows?
Mailing lists / fpc-pascal / 2012-07
Cross platform signal handler?
5 messages · 3 people · –
- Lleledumbo 3
- AAndreas Schneider 1
- SSven Barth 1
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Cross-platform-signal-handler-tp5710328.html
Sent from the Free Pascal - General mailing list .
leledumbo wroteDo we have it? And if not, what's the available solution for windows?
It will depend on what you want to achive. So, what do you need it for?
Regards,
Sven
It will depend on what you want to achive. So, what do you need it for?
Handle Ctrl+C and other kinds of forced program termination.
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Cross-platform-signal-handler-tp5710328p5710332.html
Sent from the Free Pascal - General mailing list .
leledumbo wrote> It will depend on what you want to achive. So, what do you need it for? Handle Ctrl+C and other kinds of forced program termination.
Take a look here
http://hg.aksdb.de/CentrED/files/3bf040abc0311f68ad6c90486625fac2ce914c80/Server/UCEDServer.pas#L78-105
Best Regards,
Andreas
Thanks, that's closer, I hope the linux ifdef could be replaced with unix (Mac OS X is *nix, right?). I wonder why we don't have it at RTL level...
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Cross-platform-signal-handler-tp5710328p5710355.html
Sent from the Free Pascal - General mailing list .
