From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,db4f13247a2521f X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Thu, 05 May 2005 07:31:52 -0500 From: "Steve" Newsgroups: comp.lang.ada References: <9g3jomw1nprv$.1oustugm8nxot$.dlg@40tude.net> Subject: Re: Intended use of package Ada.Task_Attributes Date: Thu, 5 May 2005 05:34:28 -0700 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original Message-ID: NNTP-Posting-Host: 24.22.63.157 X-Trace: sv3-Hi7Qhgx4Pj39Y1XDWkcDBmm+YwEqWmn9jX1NqZPxK9ZZPfjlw6w4zpICJjybnGt1NCyJ406wdL4md0O!bb6b6aIuTGQ5mHjGU7RSUnEdpR2oC9PdK8WWDGr0jnk1rltB5wCQ5uOfmHaI X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.31 Xref: g2news1.google.com comp.lang.ada:10932 Date: 2005-05-05T05:34:28-07:00 List-Id: "Jerome Hugues" 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