Re:Why is there a “V” in SIGSEGV Segmentation Fault?
by tom_mellior on Thursday June 18, 2020 @09:58AM
(#23563139)
With sigaction handlers (as opposed to the C standard library's simplistic signal handlers) it's not just exceptions, it's more general, like a condition system like in Common Lisp. From inside the handler you can analyze what's wrong, then manipulate the program state and then restart the computation where you were, or at the next instruction, or wherever else you choose. In contrast, your typical exception mechanism (as in Python or C++ or Java or whatever) will unwind the stack and make it impossible to restart from the exact place where the problem occurred.
[ Parent
| on HN ]
There are no comments on this comment yet.