Files
JargonFile/original/html/U/unwind-the-stack.html
2014-03-27 18:54:56 +00:00

11 lines
2.3 KiB
HTML
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>unwind the stack</title><link rel="stylesheet" href="../../jargon.css" type="text/css"/><meta name="generator" content="DocBook XSL Stylesheets V1.61.0"/><link rel="home" href="../index.html" title="The Jargon File"/><link rel="up" href="../U.html" title="U"/><link rel="previous" href="unswizzle.html" title="unswizzle"/><link rel="next" href="unwind-protect.html" title="unwind-protect"/></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">unwind the stack</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="unswizzle.html">Prev</a> </td><th width="60%" align="center">U</th><td width="20%" align="right"> <a accesskey="n" href="unwind-protect.html">Next</a></td></tr></table><hr/></div><dt><a id="unwind-the-stack"/><dt xmlns="" id="unwind-the-stack"><b>unwind the stack</b>: <span xmlns="http://www.w3.org/1999/xhtml" class="grammar">vi.</span></dt></dt><dd><p> 1. [techspeak] During the execution of a procedural language, one is
said to <span class="firstterm">unwind the stack</span> 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 <b class="command">longjmp</b>/<b class="command">setjmp</b>, in
LISP or C++ with <b class="command">throw/catch</b>. See also
<a href="../S/smash-the-stack.html"><i class="glossterm">smash the stack</i></a>. </p></dd><dd><p> 2. People can unwind the stack as well, by quickly dealing with a
bunch of problems: &#8220;<span class="quote">Oh heck, let's do lunch. Just a second while I
unwind my stack.</span>&#8221;</p></dd><div class="navfooter"><hr/><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="unswizzle.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="../U.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="unwind-protect.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">unswizzle </td><td width="20%" align="center"><a accesskey="h" href="../index.html">Home</a></td><td width="40%" align="right" valign="top"> unwind-protect</td></tr></table></div></body></html>