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,ea9fbf0f08e5af8a X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news4.google.com!feeder2.cambriumusenet.nl!feed.tweaknews.nl!193.201.147.79.MISMATCH!hitnews.eu!feeder.news-service.com!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: "J-P. Rosen" Newsgroups: comp.lang.ada Subject: Re: Delayed deallocation of non-terminated task in Gnat? Date: Thu, 01 Sep 2011 07:24:46 +0200 Organization: A noiseless patient Spider Message-ID: References: <31ba531d-fa8e-40f3-97bc-c9112b329fe2@14g2000prv.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Injection-Date: Thu, 1 Sep 2011 05:24:37 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="cJo7kSTQUrCFv2/D8KKtqw"; logging-data="10211"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Q6/ZkcOzPLsvpAThUpG47" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0) Gecko/20110812 Thunderbird/6.0 In-Reply-To: Cancel-Lock: sha1:F+Q2SqGTlTlu6FZJYs5FK1PZ9d4= Xref: g2news1.google.com comp.lang.ada:20813 Date: 2011-09-01T07:24:46+02:00 List-Id: Le 01/09/2011 00:36, Adam Beneschan a �crit : > But I'm not talking about a task being completed. It's pretty clear > that it's possible to use Unchecked_Deallocation on an object that > contains an access to a task, and this Unchecked_Deallocation can > complete, without the task being completed. But this means that the > task *object* (which isn't the same as a task, I think) ceases to > exist, even though the task still hasn't completed; and a literal (but > possibly absurd) reading of the RM would mean that the task's entry > queues no longer exist (even though the task still hasn't completed), > leading to questions about what happens to tasks that are already on > those queues. > TBH, I didn't even think that anybody (human, RM, or implementation) would even consider freeing part of a task's space before the task is completed ;-) -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Adalog a d�m�nag� / Adalog has moved: 2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00