Unwind

From Computer History Wiki
Revision as of 22:01, 16 December 2018 by Jnc (talk | contribs) (+cat)
(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.