what is busy waitingwhen strict alteration is


What is busy waiting?

When strict alteration is done there may take place situation like two processes setting their flag as true. Therefore both of the processes have equal priority to enter into the critical section. Consider that Pi is setting its flag as true in addition to that time a context switch take place so that Pj also sets it flag. Like a result both of them will try to get into the critical section. Therefore neither of them get into the critical section. This circumstance is known as busy waiting. To resolve this Peterson's solution is used.

 

Request for Solution File

Ask an Expert for Answer!!
Operating System: what is busy waitingwhen strict alteration is
Reference No:- TGS0306888

Expected delivery within 24 Hours