What is Race Condition

A cause of concurrency problems. Multiple accesses to a shared resource, at least one of which is a write, with no mechanism used by either to moderate simultaneous access.

Showing Answers 1 - 1 of 1 Answers

pardeep dureja

  • Sep 5th, 2006
 

Race conditions arises when multiple processes are working on shared resource which leads to impredictable results. We synchronize there access whenever such situation arises.Take a simple example Person A , Person B, Person C are living together in a room and all want a cup of tea,Person A saw there was no milk in refrigrator he goes to buy one without informing others mean while B came and found no milk he also goes for it without informing and similarly C so at the end when they came total milk =03 packets err...... race condition. Pardeep

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions