From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b42257070cad7d43 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-03-16 13:32:27 PST Path: supernews.google.com!sn-xit-03!supernews.com!news-feed.riddles.org.uk!fr.clara.net!heighliner.fr.clara.net!newsfeed.germany.net!newsfeed2.easynews.net!easynews.net!news.cid.net!news.enyo.de!news1.enyo.de!not-for-mail From: Florian Weimer Newsgroups: comp.lang.ada Subject: Re: Handling signals in ADA Date: 16 Mar 2001 22:06:17 +0100 Organization: Enyo's not your organization Message-ID: <87u24t4e5y.fsf@deneb.enyo.de> References: <3AADFFCF.691F1F8@labe.felk.cvut.cz> <87y9u6k7s6.fsf@deneb.enyo.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Xref: supernews.google.com comp.lang.ada:5756 Date: 2001-03-16T22:06:17+01:00 List-Id: "David C. Hoos, Sr." 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).