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,d2fe8ae54035f25f X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.180.79.228 with SMTP id m4mr8227158wix.7.1356801687207; Sat, 29 Dec 2012 09:21:27 -0800 (PST) Path: l12ni265408wiv.1!nntp.google.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!212.6.121.138.MISMATCH!newsfeeder.ewetel.de!ecngs!feeder2.ecngs.de!46.4.82.166.MISMATCH!weretis.net!feeder1.news.weretis.net!news.szaf.org!news.gnuher.de!news.enyo.de!.POSTED!not-for-mail From: Florian Weimer Newsgroups: comp.lang.ada Subject: Re: A couple of quick questions Date: Sat, 29 Dec 2012 18:21:26 +0100 Message-ID: <87ehi8oju1.fsf@mid.deneb.enyo.de> References: <195201b7-c447-4580-aeb4-1c2329ee45e0@googlegroups.com> <0387724a-7fd2-4317-ba16-d3322dd0fdec@googlegroups.com> <87zk0xkucv.fsf@mid.deneb.enyo.de> Mime-Version: 1.0 X-Trace: news.enyo.de 1356801685 14568 172.17.135.6 (29 Dec 2012 17:21:25 GMT) X-Complaints-To: news@enyo.de Cancel-Lock: sha1:EHewfDz6aGjb++spp2xfImtiHq0= Content-Type: text/plain; charset=us-ascii Date: 2012-12-29T18:21:26+01:00 List-Id: * Shark8: >> Code for abort deferral is automatically inserted by the compiler >> and slows down the program, even if no asynchronous transfer of >> control ever occurs. > > Isn't this only an issue ONLY when the TASK (or possibly PROTECTED > object) construct is used? When the code is compiled, the compiler does not know if the it will eventually be linked into a process which uses asynchronous transfer of control. So the calls into the run-time library are still there, but they do nothing.