recategorized by
10,834 views

1 Answer

Best answer
5 votes
5 votes

Answer : To avoid Race condition there must be at-most one process inside the Critical section at a time .

A/c to the definition of Race Condition : A race condition is an undesirable situation that occurs when a device or system attempts to perform two or more operations at the same time

selected by

Related questions

1 votes
1 votes
4 answers
1
Purple asked Jan 29, 2016
7,849 views
Which of the following is not a necessary condition for a deadlock among processes?(a) Shared Resources(b) No Preemption(c) Acyclic condition among processes(d) None of t...
1 votes
1 votes
1 answer
2
Archies09 asked Jan 10, 2017
979 views
A system has 27 instances of resources 'R' and maximum instances a process can request is 4. Maximum number of processes so that system can be in safe state now?(A) 24(B)...
0 votes
0 votes
0 answers
3
Raj Singh 1 asked Jan 1, 2019
1,464 views
Many problems on gateoverflow asks whether the given code satisfies progress requirement of the solution for the critical section problem. Most of these code contain mult...
5 votes
5 votes
4 answers
4
Prateek Dwivedi asked Jun 27, 2015
32,227 views
This is a question from Operating System concepts by Silberschatz, Gagne and Galvin. On very first go I could make that in such a situation deadlock can never occur. But ...