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!feeder.eternal-september.org!gandalf.srv.welterde.de!news.jacob-sparre.dk!loke.jacob-sparre.dk!pnx.dk!.POSTED!not-for-mail From: Jacob Sparre Andersen Newsgroups: comp.lang.ada Subject: Re: timer_server triggers Task_Termination handler Date: Thu, 21 Apr 2016 20:20:33 +0200 Organization: JSA Research & Innovation Message-ID: <87twiult72.fsf@adaheads.consafe1.org> References: <86d4c5fa-5ead-41ac-b139-449ed9d89d89@googlegroups.com> NNTP-Posting-Host: 109.56.230.181.mobile.3.dk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: loke.gir.dk 1461262833 24602 109.56.230.181 (21 Apr 2016 18:20:33 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Thu, 21 Apr 2016 18:20:33 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Cancel-Lock: sha1:LSzkUu2MlWIEPpJd77Ki8tRSU/A= Xref: news.eternal-september.org comp.lang.ada:30220 Date: 2016-04-21T20:20:33+02:00 List-Id: Anh Vo wrote: > On Thursday, April 21, 2016 at 3:23:51 AM UTC-7, Per Dalgas Jakobsen wrote: >> Is it correct behaviour when tasks internal to the GNAT run-time causes >> users task_termination handlers to be called? > > Yes, this is correct behavior. See C.7.3 of the Ada Reference Manual, I can't see anywhere in section C.7.3, which allows the compiler to insert "spontaneous" calls to the termination handlers. Greetings, Jacob -- "We will be restoring normality as soon as we are sure what is normal anyway."