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 Path: g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!news.albasani.net!news.ecp.fr!ciril.fr!oleane.net!oleane!hunter.axlog.fr!nobody From: Jean-Pierre Rosen Newsgroups: comp.lang.ada Subject: Re: protected type interrupts Date: Fri, 25 Aug 2006 08:48:17 +0200 Organization: Adalog Message-ID: References: <1156430839.745932.279060@75g2000cwc.googlegroups.com> NNTP-Posting-Host: mailhost.axlog.fr Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: s1.news.oleane.net 1156489268 20165 195.25.228.57 (25 Aug 2006 07:01:08 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Fri, 25 Aug 2006 07:01:08 +0000 (UTC) User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) In-Reply-To: Xref: g2news2.google.com comp.lang.ada:6371 Date: 2006-08-25T08:48:17+02:00 List-Id: Jeffrey R. Carter a �crit : > If a call to a procedure or entry of a protected object changes the > barrier on another entry to True, the thread of control that changed the > barrier is allowed to execute the newly open entry on behalf of the task > that called it. So the entry is not being executed in the interrupt > handler, but by the thread of control that called the interrupt handler. > But since you specified a priority for the PO (and assuming priority_ceiling), you still execute at interrupt priority. Depending on the hardware and how priorities are managed, this may delay or hide actual interrupts. -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr