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,229eda63f0d80a47 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!newsfeed.straub-nv.de!noris.net!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Fri, 05 Nov 2010 21:59:00 +0100 From: Georg Bauhaus User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Q: Profiles References: <4cd3e506$0$6992$9b4e6d93@newsspool4.arcor-online.net> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <4cd47014$0$6989$9b4e6d93@newsspool4.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 05 Nov 2010 21:59:00 CET NNTP-Posting-Host: 399a0c2a.newsspool4.arcor-online.net X-Trace: DXC=CWDSYejV8X:Y]C9J^G99ag?ifK56Bh: X-Complaints-To: usenet-abuse@arcor.de Xref: g2news2.google.com comp.lang.ada:16262 Date: 2010-11-05T21:59:00+01:00 List-Id: On 11/5/10 9:14 PM, Vinzent Hoefler wrote: > On Fri, 05 Nov 2010 12:05:42 +0100, Georg Bauhaus wrote: > >> The Ravenscar profile (and the Restricted profile in GNAT) >> assume we want our tasks to run forever. Programs will be >> supported by a lean and efficient run-time. >> >> What if I just want the lean and efficient Ravenscar run-time >> but do want my tasks to terminate? > > I'd suggest to use the appropriate list of Restriction pragmas then. I think I need to place a pragma Profile (Ravenscar) or (Restricted) (in the case of GNAT) to make the compiler pick the desired run-time. But then tasks won't terminate.