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-7-bit Path: g2news1.google.com!news1.google.com!newsfeed2.dallas1.level3.net!news.level3.com!bloom-beacon.mit.edu!newsswitch.lcs.mit.edu!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Delayed deallocation of non-terminated task in Gnat? Date: Wed, 31 Aug 2011 14:12:26 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <31ba531d-fa8e-40f3-97bc-c9112b329fe2@14g2000prv.googlegroups.com> <1k4finucoux98.7be4jx6iy5kx$.dlg@40tude.net> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls6.std.com 1314814346 26886 192.74.137.71 (31 Aug 2011 18:12:26 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Wed, 31 Aug 2011 18:12:26 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:/deNKCBBZcBpSgkbuZpkXOeks14= Xref: g2news1.google.com comp.lang.ada:20794 Date: 2011-08-31T14:12:26-04:00 List-Id: "Dmitry A. Kazakov" writes: > Does it mean that Unchecked_Deallocation won't wait for the task to > terminate? That would be surprising. U_D does not wait for tasks to terminate. That's always been the case. I consider it a flaw in Ada that there's no general-purpose way to block waiting for the termination of a task, or a group of tasks. I'm not sure U_D should be that feature, though, because then it would only work for access-to-task(s). - Bob