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-17 01:38:53 PST Path: nntp.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.onemain.com!feed1.onemain.com!newsfeed2.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread1.prod.itd.earthlink.net.POSTED!not-for-mail Message-ID: <3AB170DE.58FD0284@acm.org> From: Jeffrey Carter X-Mailer: Mozilla 4.7 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Handling signals in ADA References: <3AADFFCF.691F1F8@labe.felk.cvut.cz> <87y9u6k7s6.fsf@deneb.enyo.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 16 Mar 2001 01:48:21 GMT NNTP-Posting-Host: 158.252.128.71 X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.prod.itd.earthlink.net 984707301 158.252.128.71 (Thu, 15 Mar 2001 17:48:21 PST) NNTP-Posting-Date: Thu, 15 Mar 2001 17:48:21 PST Organization: EarthLink Inc. -- http://www.EarthLink.net Xref: nntp.stanford.edu comp.lang.ada:91501 Date: 2001-03-16T01:48:21+00:00 List-Id: "David C. Hoos, Sr." wrote: > > pragma Attach_Handler > (Handle_SIGINT, Ada.Interrupts.Names.SIGINT); > pragma Attach_Handler > (Handle_SIGUSR1, Ada.Interrupts.Names.SIGUSR1); > pragma Attach_Handler > (Handle_SIGUSR2, Ada.Interrupts.Names.SIGUSR2); Since the constants declared in Ada.Interrupts.Names are implementation-defined, the most you can say is that this works on certain compilers & OS's, which you should list. -- Jeff Carter "Go and boil your bottoms." Monty Python & the Holy Grail