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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,a170b67591224b59 X-Google-Attributes: gid103376,public From: "Jean-Pierre Rosen" Subject: Re: subtype of value passed to pragma Interrupt_Priority Date: 1998/10/01 Message-ID: <6v0903$9qp$1@platane.wanadoo.fr>#1/1 X-Deja-AN: 396732044 Content-Transfer-Encoding: 8bit References: <6utver$30u$1@uuneo.neosoft.com> <6v08fv$l5o$1@uuneo.neosoft.com> Content-Type: text/plain; charset="iso-8859-1" X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2120.0 Organization: Adalog Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1998-10-01T00:00:00+00:00 List-Id: Pat Rogers a �crit dans le message <6v08fv$l5o$1@uuneo.neosoft.com>... >Frank Ecke wrote in message ... >>On Wed, 30 Sep 1998 14:05:57 -0500, Pat Rogers >wrote: >> >>> Why isn't the subtype Interrupt_Priority the target for the >>> conversion for pragma Interrupt_Priority, instead of subtype >>> Any_Priority? >> >Exactly my puzzlement. Why should we be able to specify a value >with pragma Interrupt_Priority that is not in subtype >Interrupt_Priority? Why should that be allowed, parameter or not? > The idea is that pragma priority should be restricted to "safe" priorities, but then you need another pragma to access the full range. It was named "Interrupt_Priority" to remind people that it gave access to interrupt priorities, but it could have been named "All_Priorities_Including_Interrupt_Priorities" ... Oh well....