From: Georg Bauhaus <bauhaus@futureapps.invalid>
Subject: Re: timer_server triggers Task_Termination handler
Date: Fri, 22 Apr 2016 08:36:31 +0200
Date: 2016-04-22T08:36:31+02:00 [thread overview]
Message-ID: <nfcgj3$rea$1@dont-email.me> (raw)
In-Reply-To: <wcca8kmac15.fsf@TheWorld.com>
On 21.04.16 23:26, Robert A Duff wrote:
> Per Dalgas Jakobsen <pdj@knaldgas.dk> writes:
>
>> Is it correct behaviour when tasks internal to the GNAT run-time causes
>> users task_termination handlers to be called?
>
> No. Internal tasks are an implementation detail, and should be
> invisible to Ada programs.
Should whatever the Ada program includes from the run-time
have hidden effects only? Inaccessible in a black box, with
thick walls, and no outlets?
> I fixed this bug in GNAT recently.
>
From Randy's response, I understand that "bug" might be only one
reading. Suppose that program development needs to trace hardware
utilization, or generally the life of _all_ task objects. Should this
not be available using some standard mechanism?
ALL(x)[x is task_termination -> x is event]
changed to mean
ALL(x)[x is task_termination ->
x'task visible in the program -> x is event]
revokes access to all source-invisible run-time effects, or events.
A registration scheme more flexible than ALL vs ALL that you know about,
or ALL that we choose for you, seems another reading more open to
project needs.
next prev parent reply other threads:[~2016-04-22 6:36 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
2016-04-21 21:26 ` Robert A Duff
2016-04-22 6:36 ` Georg Bauhaus [this message]
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