threaded code

(redirected from Thread model)

threaded code

A technique for implementing virtual machine interpreters, introduced by J.R. Bell in 1973, where each op-code in the virtual machine instruction set is the address of some (lower level) code to perform the required operation. This kind of virtual machine can be implemented efficiently in machine code on most processors by simply performing an indirect jump to the address which is the next instruction.

Many Forth implementations use threaded code and nowadays some use the term "threading" for almost any technique used to implement Forth's virtual machine.

["James R. Bell", "Threaded Code", CACM, 1973, 16, 6, pp 370-372].

["An Architectural Trail to Threaded Code Systems", Kogge, P. M., IEEE Computer, March 1982].
Mentioned in ?
References in periodicals archive ?
Faster Processing: Users can now enable a new thread model which can dramatically decrease the latency observed for each message;
This thread model reduces the management overhead associated with thread intensive applications as context switching is significantly lowered.
The MetaConnect JoinEngine is built on a high performance thread model that offers exceptional performance on both NT and UNIX systems.
6 sets another benchmark for realistic bolted-joint simulation by providing the first commercially available solution that enables analysts to accurately represent the effects of bolt threads without creating detailed thread models.