Infinite loop

(Or “endless loop”) Where a piece of program is executed repeatedly with no hope of stopping. This is nearly always because of a bug, e.g. if the condition for exiting the loop is wrong, though it may be intentional if the program is controlling an embedded system which is supposed to run continuously until it is turned off. The programmer may also intend the program to run until interrupted by the user. An endless loop may also be used as a last-resort error handler when no other action is appropriate. This is used in some operating system kernels following a panic.
A program executing an infinite loop is said to spin or buzz forever and goes catatonic. The program is “wound around the axle”.
A standard joke has been made about each generation’s exemplar of the ultra-fast machine: “The Cray-3 is so fast it can execute an infinite loop in under 2 seconds!”
See also black hole, recursion, infinite loop.
[Jargon File]


Read Also:

  • Infinite monkey theorem

    humour “If you put an infinite number of monkeys at typewriters, eventually one will bash out the script for Hamlet.” (One may also hypothesise a small number of monkeys and a very long period of time.) This theorem asserts nothing about the intelligence of the one random monkey that eventually comes up with the script […]

  • Infiniteness

    [in-fuh-nit] /ˈɪn fə nɪt/ adjective 1. immeasurably great: an infinite capacity for forgiveness. 2. indefinitely or exceedingly great: infinite sums of money. 3. unlimited or unmeasurable in extent of space, duration of time, etc.: the infinite nature of outer space. 4. unbounded or unlimited; boundless; endless: God’s infinite mercy. 5. Mathematics. noun 6. something that […]

  • Infinite-product

    noun, Mathematics. 1. a sequence of numbers in which an infinite number of terms are multiplied together.

  • Infinite-regress

    noun, Philosophy. 1. causal or logical relationship of terms in a series without the possibility of a term initiating the series.

Disclaimer: Infinite loop definition / meaning should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional. All content on this website is for informational purposes only.