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-Thread: 103376,e6066104d6deadff X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns13feed!worldnet.att.net!attbi_s72.POSTED!53ab2750!not-for-mail From: "Jeffrey R. Carter" Organization: jrcarter at acm dot org User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: protected type interrupts References: <1156430839.745932.279060@75g2000cwc.googlegroups.com> <4yLHg.23125$uH6.15566@twister.nyroc.rr.com> In-Reply-To: <4yLHg.23125$uH6.15566@twister.nyroc.rr.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <00SHg.153600$1i1.101654@attbi_s72> NNTP-Posting-Host: 12.201.97.176 X-Complaints-To: abuse@mchsi.com X-Trace: attbi_s72 1156574332 12.201.97.176 (Sat, 26 Aug 2006 06:38:52 GMT) NNTP-Posting-Date: Sat, 26 Aug 2006 06:38:52 GMT Date: Sat, 26 Aug 2006 06:38:52 GMT Xref: g2news2.google.com comp.lang.ada:6388 Date: 2006-08-26T06:38:52+00:00 List-Id: REH wrote: >> > It's not my assumption. It IS being executing by the handler, and the > compiler vender says the LRM allows them to do so. References to LRM given > here show they are correct. My assumption (that was proven incorrect) was > that it should been executed by the task that called it. The standard > states that this cannot be relied upon (which explains why you cannot call > "current_task" from an entry). No. It may be executed by the same thread of control that executed the interrupt handler, but that is not the same thing as executing it from the protected procedure that is the interrupt handler. The ARM does not allow the latter. -- Jeff Carter "This school was here before you came, and it'll be here before you go." Horse Feathers 48