unwind-protect

(MIT) A Lisp operator which evaluates an expression and then, even if that expression causes a non-local exit, evaluates zero or more other expressions. This can be used to ensure that essential "clean-up" operations are performed even in the presence of errors.

[Jargon File]

Last updated: 1994-11-03

unwind the stack

During the execution of a procedural language, one is said to "unwind the stack" from a called procedure up to a caller when one discards the stack frame and any number of frames above it, popping back up to the level of the given caller. In C this is done with "longjmp"/"setjmp", in Lisp with "throw/catch". See also smash the stack.

[Jargon File]

Nearby terms:

unswizzleuntiluntypedunwind-protectunwind the stackUN*Xunzip

Try this search on Wikipedia, Wiktionary, Google, OneLook.



Loading