comp.lang.ada
 help / color / mirror / Atom feed
From: "Dan'l Miller" <optikos@verizon.net>
Subject: Re: Using the "Terminated" aspect for a task passed to a generic
Date: Mon, 23 Apr 2018 09:35:09 -0700 (PDT)
Date: 2018-04-23T09:35:09-07:00	[thread overview]
Message-ID: <d28c5bc2-6737-4a9a-8ab5-1e1a79866d8b@googlegroups.com> (raw)
In-Reply-To: <f2cc5db4-1abf-4a4c-92ed-089e0e7d6d21@googlegroups.com>

On Monday, April 23, 2018 at 9:20:33 AM UTC-5, NiGHTS wrote:
> Having looked carefully through 2 Ada reference books, one dedicated to tasking, and using Google to no end, I am stumped on the following Ada dilemma. 
> 
> generic
> 
>         type Managed_Task_Type is limited private;

Wait.  Why can't we write:

generic
  type Managed_Task_Type is limited task interface;
package WD is
...

as per 12.5.5's AI95-00345 example in the _AARM:2012TC1_ page 527 (given there without the “limited”)?

  parent reply	other threads:[~2018-04-23 16:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-23 14:20 Using the "Terminated" aspect for a task passed to a generic NiGHTS
2018-04-23 15:40 ` AdaMagica
2018-04-23 16:23 ` Jeffrey R. Carter
2018-04-23 16:29 ` Dmitry A. Kazakov
2018-04-23 16:35 ` Dan'l Miller [this message]
2018-04-23 16:41   ` Dmitry A. Kazakov
2018-04-23 17:04   ` Dan'l Miller
2018-04-23 17:18 ` NiGHTS
replies disabled

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