Unwind

From Computer History Wiki
Revision as of 18:42, 21 October 2017 by Jnc (talk | contribs) (An OK start)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

An unwind is an operation on a call stack in which the stack frames of procedure invocations on the call stack are discarded (i.e. those invocations are terminated) in order to return to an invocation higher up the stack.

This is usually performed to allow a condition handler in a procedure instance further up the stack to run, to handle an exception.