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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Ada.Interrpts.Names Date: Tue, 29 Jan 2019 10:29:53 +0000 Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: reader02.eternal-september.org; posting-host="2eba1df80bc6a43de416b7876082fe8d"; logging-data="12543"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+e3MtTyak87mR1BPFDP86RKSF1xW/G2vI=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (darwin) Cancel-Lock: sha1:/KuMpv4VZeivczRQQ5Xp/pRTd3A= sha1:RRD79n0pwyzaUKmZ+QI42hYP8QQ= Xref: reader01.eternal-september.org comp.lang.ada:55397 Date: 2019-01-29T10:29:53+00:00 List-Id: lyttlec writes: > Under Ubuntu Linux kill -l lists interrupts including SIGRTMIN and > SIGRTMAX. However, gnat a-intnam.ads does not have these, nor does the > Ada ARM toolchain. Is there a way to use these interrupts? Looks as though Interrupt_ID is visibly a numeric type, so you could just use the number (so long as it's less than (what on Darwin is) System.OS_Interface.Max_Interrupt). Whether the RTS will actually respond to the signal in a useful way is another matter. Again, System.OS_Interface should offer a clue.