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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a3ca574fc2007430 X-Google-Attributes: gid103376,public X-Google-Thread: 115aec,f41f1f25333fa601 X-Google-Attributes: gid115aec,public From: mheaney@ni.net (Matthew Heaney) Subject: Re: Ada and Automotive Industry Date: 1996/11/11 Message-ID: #1/1 X-Deja-AN: 195797445 distribution: world references: <55ea3g$m1j@newsbf02.news.aol.com> <3280DA96.15FB@hso.link.com> content-type: text/plain; charset=ISO-8859-1 organization: Estormza Software mime-version: 1.0 newsgroups: comp.lang.ada,comp.realtime Date: 1996-11-11T00:00:00+00:00 List-Id: In article , ken@nrtt.demon.co.uk wrote: >> A HUGE amount of wasted effort because people couldn't be bothered >> to read the reference manual. What the Ada 83 RM said, and pretty >> plainly at that, was that a critical task would run exactly (within >> the limits of accuracy of the physical clock, etc.) when scheduled, >> unless there was an equal or higher priority task using every >> available processor. There was even an AI, published as a >> ramification, titled "Preemptive scheduling is required" (AI-32). >> Can it get any clearer? > >Well, yes, it can. It's got little to do with pre-emption (in fact, preemption >is often a bad thing in real-time systems). It's got to do with "delay" vs >"delay until". Delay creeps the time forwards so that time events get >jittered and periodic events drift. Ada 83 didn't have "delay until," but Ada 95 does. But in Ada 83, there was no drift either: Periodic_Processing_Without_Drift: declare use Calendar; Next_Time : Time := Clock + Interval; begin loop delay Next_Time - Clock; Next_Time := Next_Time + Interval; end loop; end Periodic_Processing_Without_Drift; This example comes straight out of RM83 Sec 9.5, and is repeated in every single Ada book I have ever read. There is no drift. So what's the problem? > >I think we should have a little respect for the Boeing point-of-view. >It doesn't help them to be continuously pushed by academics to >adopting unsound techniques. They have to live with the consequences of >screwing up big time. Which academics? I'm not an academic, but I guess I am one of those who argue for Ada. :-) And which "unsound techniques," exactly? Where do these wild academics teach? Is there a conspiracy of some kind, to undermine software safety by pushing for these unsound techniques? Gee, I'm sure glad you've let the rest of us know about it. Thanks! -------------------------------------------------------------------- Matthew Heaney Software Development Consultant mheaney@ni.net (818) 985-1271