KHB: Failure-oblivious computing
Posted Jul 2, 2006 21:59 UTC (Sun) by
ebiederm (subscriber, #35028)
Parent article:
KHB: Failure-oblivious computing
Ugh. This is an old pattern and has been around for years. Typically
it is seen as ignoring the return values from your functions.
It is certainly worth having in the tool of tricks but as other have
mentioned it doesn't encourage bugs to be fixed, and therefore problems
happen.
The only real way to cope with something like this and keep running
is to handle the errors. SIGSEGV and other signals can be caught.
c++ sytle exceptions can also be caught. Allowing a case by case decision
to be made to ignore what is happening.
(
Log in to post comments)