waitloop

noun
UK /ˈweɪtluːp/
US /ˈweɪtluːp/

A waitloop is a set of steps a computer repeats while it waits for something to happen.

The program stayed in a waitloop until the user pressed a key.


OTHER MEANINGS

2. A repeated check in code that keeps testing a condition until it becomes true.

The waitloop checked every second whether the download had finished.

3. A busy-wait in which a processor keeps running without doing useful work.

That waitloop wastes CPU time instead of sleeping.

4. Any repeated cycle of waiting in a process or workflow.

Our approval process turned into a waitloop with no clear exit.