comp.lang.ada
 help / color / mirror / Atom feed
From: Anh Vo <anhvofrcaus@gmail.com>
Subject: Re: Aspect CPU
Date: Wed, 15 Jan 2014 08:54:52 -0800 (PST)
Date: 2014-01-15T08:54:52-08:00	[thread overview]
Message-ID: <74bb1a6c-4239-448b-aa0c-41684cc0fdf5@googlegroups.com> (raw)
In-Reply-To: <fc12dc98-3702-4081-85a9-f97fa1c5778c@googlegroups.com>

On Tuesday, January 14, 2014 11:06:57 PM UTC-8, Egil H H wrote:
> 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;

Great! Thank you very much. By the way, do you mind to tell which section of RM showing this declarative syntax.

A. Vo 




  reply	other threads:[~2014-01-15 16:54 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
2014-01-15 16:54   ` Anh Vo [this message]
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