comp.lang.ada
 help / color / mirror / Atom feed
From: "David C. Hoos, Sr." <david.c.hoos.sr@ada95.com>
Subject: Re: Handling signals in ADA
Date: Fri, 16 Mar 2001 19:00:48 -0600
Date: 2001-03-16T19:00:48-06:00	[thread overview]
Message-ID: <8Hys6.5560$25.2384225@newsrump.sjc.telocity.net> (raw)
In-Reply-To: 87u24t4e5y.fsf@deneb.enyo.de

Remember that in the context of the original inquirer's question,
he was using an OS with Unix-style signals, so he couldn't have been
talking about a DOS implementation where Unix-style signals
do not exist.

I have yet to see an Ada95 compiler targeted to a platform with
Unix-style signals that does not support the correspondence between
signals and interrupts.  Perhaps there is one or more, but I've not
seen them.  Do you know of any?

"Florian Weimer" <fw@deneb.enyo.de> wrote in message
news:87u24t4e5y.fsf@deneb.enyo.de...
> "David C. Hoos, Sr." <david.c.hoos.sr@ada95.com> writes:
>
> > > 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.
> >
> > This answer is just plain wrong. The following program demonstrates
> > the use of signals in Ada, using only language-defined units.
>
> There is no requirement in the standard that Ada interrupts are
> mapped to C signals.  I believe that there are quite a number of
> implementations where no such correspondence exists (it would make
> sense for a DOS implementation, for example).




  reply	other threads:[~2001-03-17  1:00 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
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. [this message]
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