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,1ce6fddc56263182 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!news.in2p3.fr!in2p3.fr!univ-lyon1.fr!news.ens-lyon.fr!news.imag.fr!not-for-mail From: Xavier Nicollin Newsgroups: comp.lang.ada Subject: Re: Ravenscar and run-time program parameters Date: Fri, 31 Aug 2007 11:01:03 +0200 Organization: IMAG Message-ID: References: <1188373703.936484.105650@w3g2000hsg.googlegroups.com> <1188456764.786015.30640@o80g2000hse.googlegroups.com> NNTP-Posting-Host: cousson.imag.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: trompette.imag.fr 1188551088 27794 129.88.43.75 (31 Aug 2007 09:04:48 GMT) X-Complaints-To: abuse@imag.fr NNTP-Posting-Date: Fri, 31 Aug 2007 09:04:48 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060417 X-Accept-Language: en-us, en In-Reply-To: Xref: g2news2.google.com comp.lang.ada:1620 Date: 2007-08-31T11:01:03+02:00 List-Id: Hi, Jeffrey R. Carter wrote: > One is given at > > http://www.sigada.org/ada_letters/jun2004/ravenscar_article.pdf > > However, it is incorrect, because Suspend_Until_True is a potentially > blocking operation and may not be called from a protected operation. You > may be able to infer a correct implementation from this. I suppose you are talking about Example 12 (p. 32). I believe (and I hope!) it is correct: the two calls to Suspend_Until_True take place in the regular procedures (Place_Item and Extract_Item), and not in the protected ones (Place and Extract). I am missing something? -- Xavier Nicollin