FOR FREE MATERIALS

Hardware Solutions

 

Disabling Interrupts

Process synchronization involves executing some sequences of instructions in a mutually exclusive manner. On a uniprocessor system, this can be achieved by disabling interrupts. In this mechanism, each process disables all interrupt just after entering its critical section and re-enables them just before leaving it. 

 

Interrupt Disabling: 

1. Mutual Exclusion: Yes

2. Progress: Yes

3. Bounded waiting:  No

4. Portability: No 

 

Disadvantage of Interrupt Disabling 

1. It is restricted to only the uniprocessor environment.

2. Busy waiting solutions

3. It may lead to starvation.