2080.1 8

Operating Systems2080.15 marksImplementing Mutual Exclusion

How lock variable is used in achieving mutual exclusion? Describe.

How lock variable is used in achieving mutual exclusion? Describe. [5]

A lock variable is a shared variable used to control access to a critical region. It is one of the software-based approaches to achieving mutual exclusion with busy waiting. --- A single shared variable called the lock is maintained, initially set to 0. Lock Value Meaning ------ 0 No process is c...

Up nextWhy do we need hierarchical directory system? Explain structure of disk.