busyloop
nounUK /ˈbɪzi luːp/
US /ˈbɪzi luːp/
A busy loop is a computer loop that keeps running and checking something over and over without stopping.
The program got stuck in a busy loop and used all the computer's power.
RELATED WORDS
OTHER MEANINGS
2. A loop in code that repeatedly checks a condition instead of waiting quietly for a signal.
Instead of sleeping, the thread ran a busy loop until the flag changed.
3. A situation where a program wastes processor time by constantly testing for an event.
The developer replaced the busy loop with an interrupt to save battery.
4. Informal: any repetitive task that keeps a person or machine constantly occupied.
Answering emails all day felt like a busy loop with no end.