PPT Slide
void LeaveCriticalSection(int this_process) {
interested[this_process] = False;
}
- This algorithm works with two processes contending for the critical section and it also works if there’s only one process.
- It’s important you understand how this code works!
-