main loop


Also found in: Dictionary, Thesaurus, Medical, Legal.

main loop

[′mān ‚lüp]
(computer science)
A set of instructions that constitute the primary structure of a repetitive computer program.

main loop

(programming)
The top-level control flow construct in an input- or event-driven program, the one which receives and acts or dispatches on the program's input events.

See also driver.

main loop

The primary logic in a program. A program is essentially an input-process-output architecture, and everything happens when there is an input, such as a mouse click, mouse movement, keyboard depression or an arriving network packet. The main loop takes care of this by continually testing for these inputs and calling the appropriate routines to process them. See loop and event loop.
References in periodicals archive ?
In the lubricant oil loop, oil is injected into the refrigerant main loop by a high-pressure oil pump.
Guzinski said engineering estimates showed the additional water main loop would cost $107,000 or less.
The proposed 2014 project would provide for extension of a main loop along Trunk Highway 65 from Mississippi Street to Norton Avenue.
Sealed Electronic Bid: Lily street water main loop construction project
Contract Awarded To Build The Water Main Loop That Will Improve Water Pressure At Fire Hydrants
The network currently consists of a main loop connecting the main company sites and facilities service providers and secondary connections to the intervention centers in distribution and production sites.
That original model, with its three main loops, its locomotives and cars, is just part of Duke Energy lobby display.