What is busy waiting?
The repeated implementation of a loop of code while waiting for an event to happen is known as busy-waiting. The CPU is not engaged in any actual productive activity during this period, and the process does not progress toward completion.