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,7d5642dc1158588b X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!news1.google.com!news.germany.com!news.banetele.no!uio.no!fi.sn.net!newsfeed1.fi.sn.net!news.song.fi!not-for-mail Date: Wed, 31 Jan 2007 10:59:40 +0200 From: Niklas Holsti User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20060628 Debian/1.7.8-1sarge7.1 X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Ravenscar - program termination References: <87zm81txs1.fsf@ludovic-brenta.org> <1170167084.668967.110840@s48g2000cws.googlegroups.com> <45bf97d4$0$22524$39db0f71@news.song.fi> <45c0499c$0$22512$39db0f71@news.song.fi> <87fy9rty13.fsf@ludovic-brenta.org> In-Reply-To: <87fy9rty13.fsf@ludovic-brenta.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <45c05907$0$22524$39db0f71@news.song.fi> Organization: TDC Song Internet Services NNTP-Posting-Host: laku61.adsl.netsonic.fi X-Trace: 1170233607 news.song.fi 22524 81.17.205.61:32796 X-Complaints-To: abuse@song.fi Xref: g2news2.google.com comp.lang.ada:8761 Date: 2007-01-31T10:59:40+02:00 List-Id: Ludovic Brenta wrote: > Niklas Holsti writes: > >>If Ravenscar really requires that the main procedure be >>non-terminating, I'm happy to learn that. From a very formal point >>of view I guess this requirement means that the kernel need not >>implement "await for task termination" even in the environment task. > > > Indeed, one of Ravenscar's goals is to make the necessary kernel easy > to certify to the most stringent safety standards. As with all > high-integrity software, the best way to achieve this is to make > things small and simple. So, not only does Ravenscar avoid the need > to wait for task termination [snip]... Yes, but waiting for task termination in a Ravenscar environment task, after calling the main procedure, is surely very simple: if (there are any tasks in the system) then -- The tasks will never terminate. loop null; end loop; else (error because the environment task is terminating) end if; > Ravenscar is beautiful, IMHO. I agree with that. -- Niklas Holsti Tidorum Ltd niklas holsti tidorum fi . @ .