10,008 views

3 Answers

Best answer
59 votes
59 votes

When final result depends on ordering of processes it is called Race condition.
Speed of processes corresponds to ordering of processes.

selected by
2 votes
2 votes
Race condition is like a family of n members(processes)

Each family member is sharing food(resources) which is present in Kitchen(Critical section)

Now the condition is one member can enter the kitchen at a time,

but all the persons need to eat food to stay alive.

So Race condition is when the state of a system depends on participating processes.

It is called race condition because processes need resources and they are sharing these resources, so they are like in a race to enter the Critical section(kitchen) to eat food.(having acquired the resources).

Now one important thing is after eating food, you have to excrete(There is some mechanism through with excreted food is converted again into fresh food by an algorithm)

This operation is known as Releasing all the resources once you get out of the critical section.
0 votes
0 votes
B . Because in this condition they both race to take the job first and this completely depends on their completion of time
Answer:

Related questions

19 votes
19 votes
4 answers
1
Kathleen asked Sep 25, 2014
13,876 views
A counting semaphore was initialized to $10$. Then $6 P$ (wait) operations and $4V$ (signal) operations were completed on this semaphore. The resulting value of the semap...
18 votes
18 votes
4 answers
2
31 votes
31 votes
8 answers
4
Kathleen asked Sep 25, 2014
10,222 views
Which normal form is considered adequate for normal relational database design?$2NF$$5NF$$4NF$$3NF$