comp.lang.ada
 help / color / mirror / Atom feed
From: Jacob Sparre Andersen <sparre@nbi.dk>
Subject: Re: timer_server triggers Task_Termination handler
Date: Fri, 22 Apr 2016 08:46:16 +0200
Date: 2016-04-22T08:46:16+02:00	[thread overview]
Message-ID: <87bn52nnt3.fsf@adaheads.sparre-andersen.dk> (raw)
In-Reply-To: nfbfq9$5vf$1@loke.gir.dk

Randy Brukardt wrote:

> "Per Dalgas Jakobsen" <pdj@knaldgas.dk> wrote in message 
> news:nfa9nm$bkc$1@loke.gir.dk...
>> Is it correct behaviour when tasks internal to the GNAT run-time causes 
>> users task_termination handlers to be called?
>
> Sure, why not?

Maybe because you end up having to inspect the run-time library to
figure out why your application behaves like it does?

Or because it makes the behaviour of your program depend on which (correct)
run-time library you compile it with?

> And what about tasks in third-party libraries?

In my opinion third-party libraries are a different matter from the
run-time provided by the compiler.

I would definitely expect the handlers to be called for any tasks
declared outside the run-time.

Greetings,

Jacob

PS: I agree that the compiler providers should write as much as possible
    of the run-time library in Ada.
-- 
... but, following long-established custom, it is Laplace's result
that is always called, in the modern litterature, "Bayes' theorem." (Jaynes)

  parent reply	other threads:[~2016-04-22  6:46 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-21 10:23 timer_server triggers Task_Termination handler Per Dalgas Jakobsen
2016-04-21 18:14 ` Anh Vo
2016-04-21 18:20   ` Jacob Sparre Andersen
2016-04-21 18:31     ` Anh Vo
2016-04-21 21:13 ` Randy Brukardt
2016-04-22  5:41   ` J-P. Rosen
2016-04-22  6:46   ` Jacob Sparre Andersen [this message]
2016-04-21 21:26 ` Robert A Duff
2016-04-22  6:36   ` Georg Bauhaus
2016-04-22  7:25     ` Dmitry A. Kazakov
2016-04-22 10:05       ` G.B.
2016-04-22 12:55         ` Dmitry A. Kazakov
2016-04-22 13:33           ` G.B.
2016-04-22 13:42             ` Dmitry A. Kazakov
2016-04-22 22:31       ` Randy Brukardt
2016-04-23  9:55         ` Dmitry A. Kazakov
2016-04-25 21:42           ` Randy Brukardt
2016-04-22 22:35   ` Randy Brukardt
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox