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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,87627bdc747a0287 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.bt.com!news.bt.com.POSTED!not-for-mail NNTP-Posting-Date: Wed, 06 Sep 2006 01:05:05 -0500 Date: Wed, 06 Sep 2006 07:05:00 +0100 From: Martin Dowie User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Martian Rover Spirit's mulitasking software reset. References: <12fsfpic0ccq16b@corp.supernews.com> In-Reply-To: <12fsfpic0ccq16b@corp.supernews.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <9YadnSb_QKCM-GPZRVnytQ@bt.com> NNTP-Posting-Host: 81.158.163.4 X-AuthenticatedUsername: NoAuthUser X-Trace: sv3-s5a2VJX/02VDdWhQY+sRdu26AwU8uAgQLvvSBxH85GB7BpZHCMMA+Mu6BDxbVNPV41nyQT/48Ex0W4U!IFDie4hyfJH40mD9h9t1nFMuguc70ayi25xTn5Uj/IGHuSwkh9T6TmqJzicy X-Complaints-To: abuse@btinternet.com X-DMCA-Complaints-To: abuse@btinternet.com 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.32 Xref: g2news2.google.com comp.lang.ada:6463 Date: 2006-09-06T07:05:00+01:00 List-Id: 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? > My understanding is that there was a "priority inverstion", so had they used "pragma Locking_Policy (Ceiling_Locking);" (RM D.3 Priority Ceiling Locking) then the problem could have been avioded. Of course, they might not have used it even if they were using Ada. :-) Cheers -- Martin