main loop
Also found in: Dictionary, Thesaurus, Medical.
main loop
[′mān ‚lüp] (computer science)
A set of instructions that constitute the primary structure of a repetitive computer program.
McGraw-Hill Dictionary of Scientific & Technical Terms, 6E, Copyright © 2003 by The McGraw-Hill Companies, Inc.
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.
See also driver.
This article is provided by FOLDOC - Free Online Dictionary of Computing (foldoc.org)
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.Copyright © 1981-2019 by The Computer Language Company Inc. All Rights reserved. THIS DEFINITION IS FOR PERSONAL USE ONLY. All other reproduction is strictly prohibited without permission from the publisher.