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
English,
6 months ago
Social Sciences,
6 months ago
Economy,
6 months ago
Social Sciences,
1 year ago
Hindi,
1 year ago