Limitations of Busy Waiting
Below are the limitations of Busy Waiting:
- Busy waiting keeps CPU busy at all the time until it’s condition gets satisfied.
- The synchronisation mechanism that makes use of busy waiting suffers from the problem of priority inversion.
- In critical section the low priority processes gets executed.
- The system remains idle when process is in busy waiting state.
- Busy waiting consumes more power.
Busy Waiting in OS
Waiting in the operating system consists of two approaches namely Busy Waiting and Sleep Waiting. Busy waiting is defined as the process where the process or task continuously the processor and waits for the condition to be satisfied. Whereas Sleep waiting is defined as a process where the task or process does not consume the processor when it is waiting for its condition to be satisfied. The below article covers in detail busy waiting.