comp.lang.ada
 help / color / mirror / Atom feed
From: JP Thornley <jpt@diphi.demon.co.uk>
Subject: Re: Need help with PowerPC/Ada and realtime tasking
Date: 1996/05/28
Date: 1996-05-28T00:00:00+00:00	[thread overview]
Message-ID: <63085717wnr@diphi.demon.co.uk> (raw)
In-Reply-To: dewar.833197805@schonberg


In article: <dewar.833197805@schonberg>  Robert Dewar writes:
> 
> JP Thornley said
> 
> "My view is that code can never be judged as safe or unsafe - only
> correct or incorrect.  However my usage of the words "safe" - and
> "safety-critical" carries a lot of additional baggage, and it is
> possible that we are differing over the meaning of these words rather
> than anything fundamental.
> "
> 
> I think that is completely wrong. Correctness, i.e. formal conformance
> between the implementation and the specification, is neither necessary
> nor sufficient for safety.
> 
> It is not necessary, because there can be deviations that are not
> life-critical, e.g. if the horizon display on the pilots console
> is not the specified shade of green, it is not critical.
> 
> It is not sufficient, because the formal specification may be incomplete
> or incorrect.
> 

But I am talking only about those software components of the system that 
have been rated as safety-critical - so, by definition, a failure of 
that component to meet its requirements creates an uncontrolled risk of 
a hazard occuring.  I would be surprised if the exact shade of green 
on a display were to be rated safety-critical.  (I suspect that it is 
unusual for any part of a display to be rated as safety-critical as 
there will always be multiple independent sources of information).

Incomplete or incorrect requirements for a software component affect 
*system* safety - just as they would for any other type of component.  

Clearly it is a software engineering responsibility to check the 
requirements for incompleteness and ambiguity but, for example, if an 
algorithm is specified incorrectly and this results in a valve opening 
instead of it remaining closed, I do not see what is gained by claiming 
that the software which implements that algorithm is unsafe.  As another 
way of looking at this, what actions can a software engineer take to 
create safe sofware from potentially incorrect requirements (apart from
being a better domain expert than the systems engineer and getting the 
requirements changed).

-- 
------------------------------------------------------------------------
| JP Thornley    EMail jpt@diphi.demon.co.uk                           |
------------------------------------------------------------------------





  reply	other threads:[~1996-05-28  0:00 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-05-17  0:00 Need help with PowerPC/Ada and realtime tasking Dave Struble
1996-05-18  0:00 ` JP Thornley
1996-05-20  0:00   ` Robert I. Eachus
1996-05-21  0:00     ` Michael Levasseur
1996-05-21  0:00   ` Richard Riehle
1996-05-25  0:00     ` JP Thornley
1996-05-27  0:00       ` Darren C Davenport
1996-05-30  0:00         ` Ralph E. Crafts
1996-05-31  0:00           ` JP Thornley
1996-06-03  0:00             ` Ken Garlington
1996-05-28  0:00       ` Tasking in safety-critical software (!) (was Re: Need help with PowerPC/Ada and realtime tasking) Kevin F. Quinn
1996-05-25  0:00     ` Need help with PowerPC/Ada and realtime tasking JP Thornley
1996-05-27  0:00       ` Robert Dewar
1996-05-28  0:00         ` JP Thornley [this message]
1996-05-29  0:00           ` Ken Garlington
1996-05-29  0:00             ` Robert A Duff
1996-05-30  0:00               ` JP Thornley
1996-05-31  0:00                 ` Ken Garlington
1996-06-02  0:00                   ` JP Thornley
1996-06-03  0:00                     ` Ken Garlington
1996-05-30  0:00               ` Software Safety (was: Need help with PowerPC/Ada and realtime tasking) Ken Garlington
1996-05-30  0:00                 ` Robert Dewar
1996-06-02  0:00                   ` JP Thornley
1996-06-03  0:00                   ` Robert A Duff
1996-06-05  0:00                     ` Norman H. Cohen
1996-06-07  0:00                       ` Ken Garlington
1996-06-12  0:00                         ` Norman H. Cohen
1996-06-12  0:00                           ` Ken Garlington
1996-06-08  0:00                       ` Robert Dewar
1996-06-08  0:00                         ` Robert A Duff
1996-05-31  0:00                 ` Robert A Duff
1996-06-03  0:00                   ` Ken Garlington
1996-05-28  0:00   ` Need help with PowerPC/Ada and realtime tasking Robert I. Eachus
1996-05-30  0:00     ` JP Thornley
1996-05-28  0:00   ` Robert I. Eachus
1996-05-30  0:00     ` JP Thornley
1996-06-03  0:00       ` Ken Garlington
1996-05-31  0:00   ` Robert I. Eachus
1996-06-03  0:00   ` Ralph Paul
replies disabled

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