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!news1.google.com!news.germany.com!feeder2.news.saunalahti.fi!fi.sn.net!newsfeed2.fi.sn.net!news.song.fi!not-for-mail Date: Tue, 30 Jan 2007 21:15:18 +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> In-Reply-To: <1170167084.668967.110840@s48g2000cws.googlegroups.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <45bf97d4$0$22524$39db0f71@news.song.fi> Organization: TDC Song Internet Services NNTP-Posting-Host: laku61.adsl.netsonic.fi X-Trace: 1170184148 news.song.fi 22524 81.17.205.61:32935 X-Complaints-To: abuse@song.fi Xref: g2news2.google.com comp.lang.ada:8727 Date: 2007-01-30T21:15:18+02:00 List-Id: matteo.bordin@gmail.com wrote: [ snip ] > On real-time kernels supporting the Ravenscar profile, even the main > procedure must contain an infinite loop. I don't think that is an Ada requirement. As I understand it, under the Ravenscar profile the environment task is the master of all application tasks, so it will await their termination; since they never terminate, neither does the environment task (RM 2005 10.2(25)), even if the main procedure terminates and returns to the body of the environment task. I have seen a Ravenscar Ada implementation that requires the main procedure to end with an infinite loop, but I think that is a non-standard requirement. A trivial one, of course. -- Niklas Holsti Tidorum Ltd niklas holsti tidorum fi . @ .