comp.lang.ada
 help / color / mirror / Atom feed
From: ludemann@ubc-cs.UUCP (Peter Ludemann)
Subject: Re: What I miss... (really C, Ada, religion)
Date: Wed, 9-Oct-85 19:47:07 EDT	[thread overview]
Date: Wed Oct  9 19:47:07 1985
Message-ID: <42@ubc-cs.UUCP> (raw)
In-Reply-To: 272@graffiti.UUCP

In article <272@graffiti.UUCP> peter@graffiti.UUCP (Peter da Silva) writes:
>I'd like to re-ask my question. What do you do in a finished product in a
>high-risk environment when an unanticipated bug (anticipated errors will have
>been dealt with in both languages if the programmer is worth his pay) occurs?

It's all quite simple.  I assume you're working in a multi-tasking
environment.  There's a parent task which starts up a family of
child processes.  The parent then does nothing but wait for a child
to die.

When a child dies, the operating system puts some information into
a log about the cause of death, sends a death message to the process's
parent and tidies up all the resources owned by the dead process.
Most likely, the parent, on receipt of the death message, just 
starts up a new child process.

Every so often, people come and read the error log to see if anything
has been going wrong.  Nobody (except programmers) ever sees 
"array subscript error at line 123 in procedure xyz".  And NEVER does
one see "bus error - core dumped" as some well-known systems do.
The user will probably only see a temporary degradation in the
performance of the system - which is much better than the system
going completely flakey because one process has gone outside an
array and clobbered something.
-- 
-- Peter Ludemann
	ludemann@ubc-cs.uucp (ubc-vision!ubc-cs!ludemann)
	ludemann@cs.ubc.cdn  (ludemann@cs.ubc.cdn@ubc.mailnet)
	ludemann@ubc.csnet   (ludemann%ubc.csnet@CSNET-RELAY.ARPA)

  parent reply	other threads:[~1985-10-09 23:47 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <796@kuling.UUCP>
     [not found] ` <2580002@csd2.UUCP>
     [not found]   ` <191@graffiti.UUCP>
     [not found]     ` <568@unisoft.UUCP>
1985-09-29 18:21       ` What I miss... (really C, Ada, religion) Jan Steinman
1985-10-02  1:16         ` Eugene D. Brooks III
1985-10-03 20:14           ` William D Michael
1985-10-05 19:23             ` DARIN JOHNSON
1985-10-04 13:04           ` Re: What I miss... (really C, Ada, r rosen
1985-10-04 13:44           ` What I miss... (really C, Ada, religion) Jon Mauney
1985-10-05 15:17           ` Swamp Thing
1985-10-05 21:30           ` S.Rajeev
1985-10-06  6:04           ` Jan Steinman
1985-10-07 20:56           ` J. Eric Roskos
1985-10-02 16:04         ` Peter da Silva
1985-10-07 21:04           ` J. Eric Roskos
1985-10-09 18:56           ` Wayne Throop
1985-10-09 23:47           ` Peter Ludemann [this message]
1985-09-30 20:00       ` Subscript out-of-bounds detection Joe Orost
1985-10-06 20:54   ` What I miss... (really C, Ada, religion) Eugene D. Brooks III
1985-10-07 14:13   ` Karl Tombre
1985-10-11 12:59   ` J. Eric Roskos
1985-10-13  6:28   ` Barry Margolin
1985-10-16  5:46   ` systolic processor? wildstar
1985-10-21  2:26   ` Re: What I miss... (really C, Ada, religion) Richard Welty
replies disabled

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