comp.lang.ada
 help / color / mirror / Atom feed
From: rieachus@comcast.net
Subject: Re: Advice, tasking and hardware
Date: Wed, 8 Jun 2016 05:56:14 -0700 (PDT)
Date: 2016-06-08T05:56:14-07:00	[thread overview]
Message-ID: <bd4fecc9-6b29-4524-98a2-1277848beb23@googlegroups.com> (raw)
In-Reply-To: <nj8hhs$1kbc$1@gioia.aioe.org>

On Wednesday, June 8, 2016 at 3:30:07 AM UTC-4, Dmitry A. Kazakov wrote:
  
> That is the visible effect, the point is if restarting a task heals a 
> symptom or the illness.
> 
> P.S. It would be nice if Ada had, as well, a non-cooperative model of 
> private, protected and task. That is, private parts inacessible without 
> memory mapping only to occur through publicly visible calls. Such tasks 
> and objects could be resurrected without partition restart. They would 
> also be great for distributed systems done high-level instead of 
> low-level Annex E. Unfortunately there is no demand...

Um.  Hard real-time systems are hard, and it is harder still to recover from (transient) hardware errors.  However, there are tools, and SPARK helps a lot.  In the systems I worked on, each priority level corresponded to a thread, and was fired off every 20 ms.  There was a time requirement on restarting any task from scratch that basically resulted in a (small) collection of state variables, and the large swaths of state data like radar tracks would be discarded by hardware transient recovery. 

Oh, all physical memory allocations had to be done before the system was started.  You could, and often did have a per task memory pool, and restart just changed the allocated amount to zero.  Of course, any package which contained state had to be task specific.  The tasks that updated the HUD was relatively low priority, and some cockpit displays lower still. So telling the pilot to try cycling the power to the computer system wasn't a solution.  Hmm. I remember some older systems A6A DIANE? Where the watchdog timer was connected to a cockpit light.  That system though, did nav, radar and weapons, but was not involved in flight control.


  reply	other threads:[~2016-06-08 12:56 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-25 21:24 Advice, tasking and hardware patrick
2016-05-26  1:09 ` Jeffrey R. Carter
2016-05-26  8:13   ` Simon Wright
2016-05-26  7:26 ` Dmitry A. Kazakov
2016-05-26 16:41   ` patrick
2016-05-26 17:56     ` Dmitry A. Kazakov
2016-05-26 20:35     ` Jeffrey R. Carter
2016-05-26 19:35   ` Jeffrey R. Carter
2016-05-26 20:51     ` patrick
2016-05-27  7:50     ` Dmitry A. Kazakov
2016-05-27 18:00       ` Simon Wright
2016-05-27 19:06       ` Jeffrey R. Carter
2016-05-27 22:05         ` Randy Brukardt
2016-05-27 23:09           ` Jeffrey R. Carter
2016-05-27 19:13       ` Shark8
2016-05-27 20:27         ` Dmitry A. Kazakov
2016-05-27 22:27           ` Randy Brukardt
2016-05-28  6:49             ` Dmitry A. Kazakov
2016-05-28 14:38           ` Shark8
2016-05-28 15:45             ` Dmitry A. Kazakov
2016-05-28  0:25 ` rieachus
2016-05-28  1:57   ` patrick
2016-05-28  4:13   ` Jeffrey R. Carter
2016-06-01 14:37     ` rieachus
2016-06-01 19:09       ` Dmitry A. Kazakov
2016-06-06  3:33         ` rieachus
2016-06-06  7:18           ` Dmitry A. Kazakov
2016-06-07 16:53             ` rieachus
2016-06-07 20:21               ` Dmitry A. Kazakov
2016-06-08  4:06                 ` rieachus
2016-06-08  7:29                   ` Dmitry A. Kazakov
2016-06-08 12:56                     ` rieachus [this message]
2016-06-08  0:19               ` Dennis Lee Bieber
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox