comp.lang.ada
 help / color / mirror / Atom feed
From: Egil H H <ehh.public@gmail.com>
Subject: Re: Aspect CPU
Date: Tue, 14 Jan 2014 23:06:57 -0800 (PST)
Date: 2014-01-14T23:06:57-08:00	[thread overview]
Message-ID: <fc12dc98-3702-4081-85a9-f97fa1c5778c@googlegroups.com> (raw)
In-Reply-To: <27ff7582-b2bd-4a51-80a9-6a65a8c3f38b@googlegroups.com>

On Wednesday, January 15, 2014 2:56:36 AM UTC+1, Anh Vo wrote:
> 
> task type Rejected_Workers (Cpu_N : Cpu_Range) is
> 
>          entry Start;
> 
>       with Cpu => Cpu_N;

For tasks, the aspect definition comes before the task entries. Try this:

task type Rejected_Workers (Cpu_N : Cpu_Range)
   with Cpu => Cpu_N
is
   entry Start;
end Rejected_Workers;
 
-- 
~egilhh

  reply	other threads:[~2014-01-15  7:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-15  1:56 Aspect CPU Anh Vo
2014-01-15  7:06 ` Egil H H [this message]
2014-01-15 16:54   ` Anh Vo
2014-01-15 20:00     ` Simon Wright
2014-01-15 20:18       ` J-P. Rosen
2014-01-15 22:10         ` Anh Vo
2014-01-15 22:04       ` Anh Vo
2014-01-15 23:25         ` 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