comp.lang.ada
 help / color / mirror / Atom feed
From: "jimmaureenrogers@worldnet.att.net" <jimmaureenrogers@worldnet.att.net>
Subject: Re: Martian Rover Spirit's mulitasking software reset.
Date: 5 Sep 2006 21:47:37 -0700
Date: 2006-09-05T21:47:37-07:00	[thread overview]
Message-ID: <1157518057.446951.89720@m79g2000cwm.googlegroups.com> (raw)
In-Reply-To: 12fsfpic0ccq16b@corp.supernews.com

ME wrote:
> The mars rover Spirit suffered a software reset as a result of a multitasking problem.
>
> "The apparent cause was that the rover's central processing unit was overworked as several tasks were running in parallel at the time."
>
>
>
> The rover uses VX works and I believe C. Testing obviously did not catch this fault. Would the use of Ada  made any difference?

Not necessarily. While there could be many reasons for this problem,
one likely one was the dynamic creation of Pthreads. A similar problem
could have been designed into an Ada program using dynamic creation of
tasks from a task type.

The problem appears to be fundamentally caused by poor design. Ada does
not prevent poor design.

On the other hand, it may have been easier to spot the problem during
code reviews using Ada, since Ada tasking is done at a much higher
level of abstraction than Pthreads using C. The higher level of
abstraction often aids in human understanding of code.

Jim Rogers




       reply	other threads:[~2006-09-06  4:47 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <12fsfpic0ccq16b@corp.supernews.com>
2006-09-06  4:47 ` jimmaureenrogers [this message]
2006-09-06 10:29   ` Martian Rover Spirit's mulitasking software reset Pascal Obry
2006-09-06  6:05 ` Martin Dowie
2006-09-06 12:52   ` jimmaureenrogers
2006-09-06 14:13     ` Bob Spooner
2006-09-06 22:43   ` Mark Lorenzen
2006-09-07  3:22     ` ME
2006-09-07 13:47       ` Paul Anderson
2006-09-08  3:46         ` ME
2006-09-08 15:01           ` Paul Anderson
2006-09-06 18:39 ` Jeffrey R. Carter
replies disabled

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