tight loop

Computing Dictionary

tight loop definition

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)
The Free On-line Dictionary of Computing, © Denis Howe 2010 http://foldoc.org
Cite This Source
Explore Dictionary.com
Previous Definition: tight lipped
Next Definition: tight money
Words Near: tight loop
More from Thesaurus.com
Synonyms and Antonyms for tight loop
More from Reference.com
Search for articles containing tight loop
More from Dictionary.com Translator
Dictionary.com Word FAQs

Dictionary.com presents 366 FAQs, incorporating some of the frequently asked questions from the past with newer queries.

Copyright © 2014 Dictionary.com, LLC. All rights reserved.
  • Please Login or Sign Up to use the Recent Searches feature