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: a07f3367d7,4083771199667fd1 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!198.186.194.249.MISMATCH!transit3.readnews.com!news-out.readnews.com!news-xxxfer.readnews.com!panix!bloom-beacon.mit.edu!newsswitch.lcs.mit.edu!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Ensuring resource cleanup Date: Mon, 08 Feb 2010 15:47:51 -0500 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <87zl3jertf.fsf@mid.deneb.enyo.de> <876367af7w.fsf@mid.deneb.enyo.de> <87tytr7f7h.fsf@mid.deneb.enyo.de> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls6.std.com 1265662056 17484 192.74.137.71 (8 Feb 2010 20:47:36 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Mon, 8 Feb 2010 20:47:36 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:NzQ/gJiObzcD7N8bj8oJHaB86zA= Xref: g2news1.google.com comp.lang.ada:8996 Date: 2010-02-08T15:47:51-05:00 List-Id: Florian Weimer writes: > * Robert A. Duff: > >> To get rid of aborts, I think you need both No_Abort_Statements >> and Max_Asynchronous_Select_Nesting => 0. I believe this will >> cause the overhead of abort deferral to go away, but to be sure, >> you should try it. > > Max_Asynchronous_Select_Nesting => 0 does indeed the trick. Don't you need No_Abort_Statements as well? >...I would > never have guessed that, thanks. You're welcome. What goes on at run time for a select-then-abort is very similar to what goes on for aborting a task. Deferring aborts applies to both. - Bob