tight loop


Also found in: Dictionary.

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.
References in periodicals archive ?
I find short rods to be very accurate, and my favorite 7 1/2-foot and 8-foot rods allow me to cast tight loops, especially with the sub-9 foot leaders I like.
CONS: Shrewsbury town centre is located in a tight loop of the River Severn, making it almost an island, which can cause problems when flooding occurs - as happened several times recently.
To connect the ferries to the subway system, the best opportunity exists at the South Ferry Station with the #1 and the #9 lines, which is a very tight loop and doesn't function very well," he says.
These flags may be attached in several ways--glue, staples, or by sewing a tight loop along one edge of the flag, which may be firmly pulled over the ends of the flag shaft exactly 24 inches from an end.
Instead of applying extra force with your rod hand (which usually opens the loop), make a normal tight loop with the rod hand and accelerate the haul with your line hand.
Stevens said of the track's undulations and tight loop turn: "It's certainly the most unusual course I've encountered since I've been riding here as it's very sharp on that turn, but I had no problem with it.
Thus, objects of these types have as their value a pointer to a statement, loop, nested loop, tight loop, or adjacent loop, respectively.
That leaves a sphere with a red outside and a tight loop that must be pulled through itself.
Together, the two will provide a tight loop of customer acquisition and retention for those looking to launch electronic exchanges.
This toolset provides a simple mechanism for the development of both the bulk of code required for route processing and system management along with the tight loop code necessary for forwarding packets at speeds up to OC-48.
Bend the end of the cable into a tight loop then attach the braid to the cable using an Albright special knot.
Iterations take place quickly and efficiently in a tight loop with no need for data translation and no loss in data resolution.