Files
JargonFile/original/html/T/trampoline.html
2014-03-27 18:54:56 +00:00

13 lines
2.5 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>trampoline</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="../T.html" title="T"/><link rel="previous" href="toy-program.html" title="toy program"/><link rel="next" href="trap.html" title="trap"/></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">trampoline</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="toy-program.html">Prev</a> </td><th width="60%" align="center">T</th><td width="20%" align="right"> <a accesskey="n" href="trap.html">Next</a></td></tr></table><hr/></div><dt><a id="trampoline"/><dt xmlns="" id="trampoline"><b>trampoline</b>: <span xmlns="http://www.w3.org/1999/xhtml" class="grammar">n.</span></dt></dt><dd><p> An incredibly <a href="../H/hairy.html"><i class="glossterm">hairy</i></a> technique, found in some
<a href="../H/HLL.html"><i class="glossterm">HLL</i></a> and program-overlay implementations (e.g., on
the Macintosh), that involves on-the-fly generation of small executable
(and, likely as not, self-modifying) code objects to do indirection between
code sections. Under BSD and possibly in other Unixes, trampoline code is
used to transfer control from the kernel back to user mode when a signal
(which has had a handler installed) is sent to a process. These pieces of
<a href="../L/live-data.html"><i class="glossterm">live data</i></a> are called <span class="firstterm">trampolines</span>. Trampolines are notoriously
difficult to understand in action; in fact, it is said by those who use
this term that the trampoline that doesn't bend your brain is not the true
trampoline. See also <a href="../S/snap.html"><i class="glossterm">snap</i></a>.</p></dd><div class="navfooter"><hr/><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="toy-program.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="../T.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="trap.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">toy program </td><td width="20%" align="center"><a accesskey="h" href="../index.html">Home</a></td><td width="40%" align="right" valign="top"> trap</td></tr></table></div></body></html>