comp.lang.ada
 help / color / mirror / Atom feed
From: "Steve" <nospam_steved94@comcast.net>
Subject: Re: Intended use of package Ada.Task_Attributes
Date: Thu, 5 May 2005 05:34:28 -0700
Date: 2005-05-05T05:34:28-07:00	[thread overview]
Message-ID: <Lr2dnaaI2Pilj-ffRVn-2Q@comcast.com> (raw)
In-Reply-To: slrnd7k1ct.4m8.hugues@merlin.enst.fr

"Jerome Hugues" <hugues@merlin-lenchanteur.enst.fr> wrote in message 
news:slrnd7k1ct.4m8.hugues@merlin.enst.fr...
> In article <9g3jomw1nprv$.1oustugm8nxot$.dlg@40tude.net>, Dmitry A. 
> Kazakov wrote:
>>> implementing implementation-defined task attributes / properties?
>>>
>>> What constitutes a "good use" of this package?
>>
>> Basically the task ID is anything you need. You can then create a hash
>> table to keep pointers to the task specific data global in your system.
>> This will require dynamic handling of the table and also checking if the
>> table contains task data and creating them if necessary. Task_Attributes
>> provides an alternative which might appear more usable in an embedded or
>> real-time system: statically allocated data, faster data access (no hash
>> table search needed) etc.
>
> Except that it is explicitely forbidden by the Ravenscar profile :(
>
> see http://www.adaic.com/standards/rm-amend/html/RM-D-13-1.html
>

Did I miss something?

Who said anything about the requirement of following the Ravenscar profile?

I thought the Ravenscar profiler was a tool that restricted certain 
operations that are difficult to prove are safe for safety critical 
applications.  Which is a small subset of Ada applications.

Steve
(The Duck)

> -- 
> Jerome 





  reply	other threads:[~2005-05-05 12:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-05 10:50 Intended use of package Ada.Task_Attributes Mark Lorenzen
2005-05-05 11:24 ` Dmitry A. Kazakov
2005-05-05 11:38   ` Jerome Hugues
2005-05-05 12:34     ` Steve [this message]
2005-05-05 15:33       ` Jerome Hugues
2005-05-05 21:09         ` 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