Question: Select the correct statements regarding mutex lock to prevent race condition.</br>
I. a process must acquire the lock before entering a critical section;</br>
II. a process need not acquire the lock before entering a critical section;</br>
III. it releases the lock when it exits the critical section</br>
IV. a process must acquire the lock when it exits the critical section.</br>
Answer:
MCQ: Select the correct statements regarding mutex lock to prevent race condition.</br>
I. a process must acquire the lock before entering a critical section;</br>
II. a process need not acquire the lock before entering a critical section;</br>
III. it releases the lock when it exits the critical section</br>
IV. a process must acquire the lock when it exits the critical section.</br>