Question: Assume, you would like to synchronize two processes. Sometimes, if you are not using proper mechanism, then it might result with inconsistent results. In this
Assume, you would like to synchronize two processes. Sometimes, if you are not using proper mechanism, then it might result with inconsistent results. In this scenario, if race condition arises, how will you manage? Suppose, if you plan to use critical section, then which algorithm would you choose and what are the necessary conditions that your algorithm must satisfy? Explain it.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
