Unix error handling
merriman at ccavax.camb.com
merriman at ccavax.camb.com
Thu Sep 6 11:50:18 AEST 1990
In article <1990Sep2.050854.12008 at nixtdc.uucp>,
doug at nixtdc.uucp (Doug Moen) writes:
[stuff deleted]
> Here's the obligatory new idea:
> I don't like the fact that Unix kills a process if it blows the stack
> due to an infinite recursive loop. The problem could be fixed with
> the introduction of an exception handling mechanism that the kernel
> knows about. If the stack overflows, then the kernel raises an exception
> within the offending process. The exception unwinds the stack (thereby
> recovering stack space) until a stack frame containing an exception
> handler is found. If no exception handler is active, then (and only then)
> is the process killed.
> --
Sounds a lot like VMS exception handlers
More information about the Comp.unix.internals
mailing list