By Letter: Non-alphabet | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z
  Email this page to a friend


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.



< Previous Terms Terms Containing tight loop Next Terms >
Tickle
tickle a bug
tick-list features
TIFF
tiger team
busy-loop
busy-wait
buzz
hot spot
jump trace buffer
tilde
TILE Forth
Tim Berners-Lee
time bomb
time complexity


Web Standards & Support:

Link to and support eLook.org Powered by LoadedWeb Web Hosting
Valid XHTML 1.0!Valid CSS!eLook.org FireFox Extensions