comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: timer_server triggers Task_Termination handler
Date: Sat, 23 Apr 2016 11:55:11 +0200
Date: 2016-04-23T11:55:11+02:00	[thread overview]
Message-ID: <nffgqa$6b6$1@gioia.aioe.org> (raw)
In-Reply-To: nfe8n6$rie$1@loke.gir.dk

On 2016-04-23 00:31, Randy Brukardt wrote:
> "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> wrote in message
> news:nfcjmm$1nei$1@gioia.aioe.org...
> ....
>> I think it should be the task's master to which all task events are
>> reported. The master can propagate them further.
>
> That's how general termination handlers work. In this case, the "master" is
> the environment task, which is the master of all tasks in the Ada program
> (recall that masters are nested, most tasks belong a number of masters). The
> question here is whether the Ada implementer should be deciding that some
> tasks should be excluded from such reporting.

But the environment task is not an explicitly declared Ada task. It is 
implementation-dependent, so the ambiguity. If it is a "real" task 
starting "real" implementation tasks, they must be reported. If the 
implementation tasks are not Ada tasks started by non-Ada means, they 
cannot be reported or too difficult to.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de

  reply	other threads:[~2016-04-23  9:55 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
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 [this message]
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