[fpc-pascal] How to use the `signals` unit?

silvioprog silvioprog at gmail.com
Fri Oct 23 17:21:13 CEST 2015


On Fri, Oct 23, 2015 at 3:05 AM, Sven Barth <pascaldragon at googlemail.com>
wrote:

> Am 23.10.2015 06:29 schrieb "silvioprog" <silvioprog at gmail.com>:
> >
> > On Thu, Oct 22, 2015 at 6:40 AM, Sven Barth <pascaldragon at googlemail.com>
> wrote:
> >>
> >> Am 22.10.2015 09:23 schrieb "silvioprog" <silvioprog at gmail.com>:
> >> > What is the secret to use this it on Windows?
> >>
> >> The secret is to not use it. It's only real use is in the textmode IDE
> and maybe there it should be checked whether it can be replaced.
> >
> > So is there some alternative for signals? ( SetConsoleCtrlHandler() on
> Windows, but, what in Linux? )
> >
>
> Currently you need to do this for each platform separately.
>
It isn't a problem for me, because my app needs to run just on Windows and
Linux. =)

-- 
Silvio Cl├ęcio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20151023/db4ef0dd/attachment.html>


More information about the fpc-pascal mailing list