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.

Similar Reads

What is Busy Waiting?

Busy Waiting is defined as a process synchronization technique where the process waits and continuously keeps on checking for the condition to be satisfied before going ahead with its execution. Busy Waiting is also known as busy looping or spinning. The condition that is to be checked is the entry condition to be true such as availability of a resource or lock in the computer system....

Demonstration of Busy Waiting

This process of busy waiting concerning the scenario is demonstrated below:...

Need of Busy Waiting

Busy waiting is required in operating system for achieving mutual exclusion. Mutual exclusion is used for preventing the processes from accessing the shared resources simultaneously. In operating system the critical section is defined as a program code in which concurrent access is avoided. In the critical section of processes they are granted with exclusive control for accessing it’s resources without any interference from the other available processes in mutual exclusion....

Limitations of Busy Waiting

Below are the limitations of Busy Waiting:...

FAQs on Busy Waiting

Q.1. Does busy waiting leads to deadlock?...

Contact Us