comp.lang.ada
 help / color / mirror / Atom feed
From: Ed Falis <falis@gnat.com>
Subject: Re: Handling signals in ADA
Date: Thu, 15 Mar 2001 23:42:02 GMT
Date: 2001-03-15T23:42:02+00:00	[thread overview]
Message-ID: <PM00037F94465329A0@Dogen.ne.mediaone.net> (raw)
In-Reply-To: 87y9u6k7s6.fsf@deneb.enyo.de

Florian Weimer wrote:
> Tomas Hlavaty <hlavaty@labe.felk.cvut.cz> writes:
>
>> Hi, could you help me with translating following C code to ADA?
>
> The programming language is called 'Ada'.
>
>> -- How to translate it to ADA?
>
> The standard Ada library does not support signals.  Typical Ada
> programs use other communication mechanisms, and a verbatim
> translation is not possible.  If you need signal handling because it's
> required by your environment, have a look at POSIX.5.

Actually, it depends on the implementation.  If you're using GNAT, you
can handle signals using the Ada interrupt handling facilities defined
in Annex C, or Ada 83-style interrupt entries, or if you prefer,
directly with POSIX facilities.

- Ed Falis
ACT



  reply	other threads:[~2001-03-15 23:42 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-13 11:09 Handling signals in ADA Tomas Hlavaty
2001-03-15  5:21 ` DuckE
2001-03-15 18:48 ` David Starner
2001-03-16 17:17   ` Robert A Duff
2001-03-15 22:05 ` Florian Weimer
2001-03-15 23:42   ` Ed Falis [this message]
2001-03-16  1:27   ` David C. Hoos, Sr.
2001-03-16  1:48     ` Jeffrey Carter
2001-03-16 21:06     ` Florian Weimer
2001-03-17  1:00       ` David C. Hoos, Sr.
2001-03-16  3:06   ` (null)
2001-03-16 13:10     ` Tomas Hlavaty
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox