comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: about inheritance of subtypes and entities (such as constants) related to a type in the same package
Date: Tue, 29 May 2018 17:07:41 -0500
Date: 2018-05-29T17:07:41-05:00	[thread overview]
Message-ID: <pekivo$lln$1@franka.jacob-sparre.dk> (raw)
In-Reply-To: f414db5e-0da3-43ad-81eb-7f882a9bea58@googlegroups.com

Packages are not themselves a runtime "master" (they're just an compile-time 
organization feature), so a task declared in a package belongs to whatever 
the package is declared in. In the case of a library package, that's 
Standard and the environment task.

Note that this has nothing to do with what is legal,  just who the owner of 
the task is.

                                          Randy.

"Mehdi Saada" <00120260a@gmail.com> wrote in message 
news:f414db5e-0da3-43ad-81eb-7f882a9bea58@googlegroups.com...
> Something else entirely but it's said packages can't have dependent 
> tasks... What ?
> The body below is legal, whatever the package:
> package body III is
>   task T1;
>   task body T1 is
>   begin
>      delay 5.2;
>   end T1;
> begin
>   delay 0.5;
> end III;
> So what does it mean ? 



  reply	other threads:[~2018-05-29 22:07 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-26 16:14 about inheritance of subtypes and entities (such as constants) related to a type in the same package Mehdi Saada
2018-05-26 16:44 ` Mehdi Saada
2018-05-29 22:07   ` Randy Brukardt [this message]
2018-05-29 22:12 ` Randy Brukardt
2018-05-30  8:13   ` Dmitry A. Kazakov
2018-05-30 19:25     ` Randy Brukardt
2018-05-30 19:45       ` Dmitry A. Kazakov
2018-05-30 19:59         ` Randy Brukardt
2018-05-31  8:44           ` Dmitry A. Kazakov
2018-05-31 22:48             ` Randy Brukardt
2018-05-31 23:39               ` Mehdi Saada
2018-06-01  2:50                 ` Shark8
2018-06-01  7:35                 ` Dmitry A. Kazakov
2018-05-30 20:53   ` Dan'l Miller
2018-05-31  8:54     ` Dmitry A. Kazakov
2018-05-31 14:29       ` Dan'l Miller
2018-05-31 14:38         ` Dan'l Miller
2018-05-31 17:37         ` Dmitry A. Kazakov
2018-05-31 18:53           ` Dan'l Miller
2018-05-31 19:59             ` Dmitry A. Kazakov
2018-05-31 21:10               ` Dan'l Miller
2018-06-01  7:56                 ` Dmitry A. Kazakov
2018-06-01 14:01                   ` Dan'l Miller
2018-06-01 15:27                     ` Dmitry A. Kazakov
2018-05-31 22:45             ` Randy Brukardt
2018-05-31 23:50               ` Dan'l Miller
2018-06-01  7:38               ` Dmitry A. Kazakov
2018-05-31 22:34     ` 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