Threaded code

This is an old revision of this page, as edited by Jamesday (talk | contribs) at 17:02, 25 October 2003 (Changed from redirect about multi-threaded programming to non-redirect about threaded programming as used in Forth and early B, since those are all that link to here.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

For multi-threaded programming, see Thread (computer science)


The term "threaded code" is used in the Forth and early versions of the B programming languages. It means a form of code consisting entirely of subroutine calls, written without the subroutine call instruction, and processed by an interpreter (Forth) or the CPU (B), which jumps to each successive piece of basic function code in turn.