Sharing a single CPU between multiple tasks (or “threads”) in a way designed to minimise the time required to switch threads. This is accomplished by sharing as much as possible of the program execution environment between the different threads so that very little state needs to be saved and restored when changing thread.
Multithreading differs from multitasking in that threads share more of their environment with each other than do tasks under multitasking. Threads may be distinguished only by the value of their program counters and stack pointers while sharing a single address space and set of global variables. There is thus very little protection of one thread from another, in contrast to multitasking.
Multithreading can thus be used for very fine-grain multitasking, at the level of a few instructions, and so can hide latency by keeping the processor busy after one thread issues a long-latency instruction on which subsequent instructions in that thread depend.
A light-weight process is somewhere between a thread and a full process.
TL0 is an example of a threaded machine language. Dataflow computation (E.g. Id and SISAL) is an extreme form of multithreading.


Read Also:

  • Multithreaded

    [thred-id] /ˈθrɛd ɪd/ adjective 1. interwoven or ornamented with : silk threaded with gold. multithreading

  • Multitiered

    [teerd] /tɪərd/ adjective 1. being or arranged in or layers (usually used in combination): a two-tiered box of chocolates.

  • Multi-tiered

    [teerd] /tɪərd/ adjective 1. being or arranged in or layers (usually used in combination): a two-tiered box of chocolates.

  • Multitool

    [tool] /tul/ noun 1. an implement, especially one held in the hand, as a hammer, saw, or file, for performing or facilitating mechanical operations. 2. any instrument of manual operation. 3. the cutting or machining part of a lathe, planer, drill, or similar machine. 4. the machine itself; a machine tool. 5. anything used as […]

Disclaimer: Multithreading definition / meaning should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional. All content on this website is for informational purposes only.