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=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a5e:8213:: with SMTP id l19-v6mr1346662iom.3.1540474626211; Thu, 25 Oct 2018 06:37:06 -0700 (PDT) X-Received: by 2002:aca:916:: with SMTP id 22-v6mr33710oij.4.1540474624561; Thu, 25 Oct 2018 06:37:04 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.166.216.MISMATCH!75-v6no69011itm.0!news-out.google.com!l70-v6ni75itb.0!nntp.google.com!z5-v6no68853ite.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 25 Oct 2018 06:37:04 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=136.163.203.3; posting-account=HFCrOQoAAABZD_f-UUbYHm3lJDIrh-UX NNTP-Posting-Host: 136.163.203.3 References: <1nx0yp3.x6ss3k18nq71lN%csampson@inetworld.net> <1nx5k9a.1n8zqjs1xf0pe6N%csampson@inetworld.net> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <50b40e43-623a-4015-95b3-91c5d4736e53@googlegroups.com> Subject: Re: Storage_Size in a Simple Program From: joakimds@kth.se Injection-Date: Thu, 25 Oct 2018 13:37:06 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader02.eternal-september.org comp.lang.ada:54705 Date: 2018-10-25T06:37:04-07:00 List-Id: > That said, I would welcome a standard Ada way to specify the stack size > for the environment task. Perhaps Storage_Size could be specified for > the main subprogram, in the same way as the Priority for the environment > task. At "http://www.adaic.org/resources/add_content/standards/05aarm/html/AA-D-1.html" one can read: Likewise, the priority value is associated with the environment task if the pragma appears in the declarative_part of the main subprogram. Therefore, specifying Storage_Size for the main subprogram as can be done with Priority should be technically possible.