Define race condition. Give an example. How can it be prevented?
Answers
Answered by
0
Avoiding Race Conditions: Critical Section: To avoid race condition we need Mutual Exclusion. Mutual Exclusion is someway of making sure that if one process is using a shared variable or file, the other processes will be excluded from doing the same things.
Similar questions
Hindi,
7 months ago
History,
7 months ago
Social Sciences,
7 months ago
Social Sciences,
1 year ago
Hindi,
1 year ago