Tight loop
programming
A loop of code that executes without releasing any resources to other programs or the operating system.
Consider the following pointless BASIC loop that counts upward indefinitely
10 i = i + 1 20 GOTO 10
Run on a single-user system such as MS-DOS this will not cause any problems. Run on a cooperative multitasking operating system such as Windows 3, the system would appear to freeze.
A pre-emptive multitasking operating system such as UNIX or Windows NT would “steal” cycles away from the program and continue to run other programs.
See also busy-wait and multitasking.
(1999-05-06)
Read Also:
- Tightly
adjective, tighter, tightest. 1. firmly or closely fixed in place; not easily moved; secure: a tight knot. 2. drawn or stretched so as to be tense; taut. 3. affording little or no extra room; fitting closely, especially too closely: a tight collar. 4. difficult to deal with or manage: to be in a tight situation. […]
- Tight money
tighten one’s belt
- Tight-money policy
tight-money policy definition A policy in which a central monetary authority, for example, the Federal Reserve System, seeks to restrict credit and raise interest rates. (Compare easy-money policy.) Note: A tight-money policy might be pursued to limit inflation.
- Tight-mouthed
[tahyt-mouth d, -moutht] /ˈtaɪtˈmaʊðd, -ˈmaʊθt/ adjective 1. tight-lipped.
- Tightrope
noun 1. a rope or wire cable, stretched tight, on which acrobats perform feats of balancing. verb (used without object), tightroped, tightroping. 2. to walk, move, or proceed on or as on a tightrope: He tightroped through enemy territory. verb (used with object), tightroped, tightroping. 3. to make (one’s way, course, etc.) on or as […]