Mutal exclusion and disable the interupts

29 Views Asked by At

Hello guys i have question When a process is entering the critical region one way to stop other processes to enter the same critical region is to disable the interupts My problem is: Ok we disable the interrupts so the hardware can no longer stop this procces but if the sceduler says "ok i am stopping you so i can run another procces" and this new process enters the same critical region then we have a problem because this procces is going to enter the same critical region.What happens when this happens? Thank you!

0

There are 0 best solutions below