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 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: "J-P. Rosen" Newsgroups: comp.lang.ada Subject: Re: timer_server triggers Task_Termination handler Date: Fri, 22 Apr 2016 07:41:23 +0200 Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Injection-Date: Fri, 22 Apr 2016 05:38:00 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="d05295dd33f3fe4fc53bb62076674607"; logging-data="19440"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+V4qlt28r83GVfn4p0juC8" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 In-Reply-To: Cancel-Lock: sha1:HLUD8UG/dMcXP7V/ukrsHyCJhh8= Xref: news.eternal-september.org comp.lang.ada:30232 Date: 2016-04-22T07:41:23+02:00 List-Id: Le 21/04/2016 23:13, Randy Brukardt a écrit : > In your example, you set a handler for all dependent tasks of the > environment task (that is, ALL tasks). C.7.3 doesn't specify who wrote the > task or for what purpose. If it is a dependent of the environment task, your > handler will be called. > > We've always encouraged implementers to write some or all of their runtime > in Ada. It would increase the difficulty quite a bit if one had to "cover > up" the effects of using Ada to write the code. It could be considered user-friendly for hidden tasks in reusable components to specify a task specific handler, so that they remain hidden if the user specifies a general handler. But I agree that it would be difficult to /require/ this in the ARM. -- J-P. Rosen Adalog 2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00 http://www.adalog.fr