top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

What is race condition? How does the race condition occur?

0 votes
161 views
What is race condition? How does the race condition occur?
posted Jul 3, 2015 by Vrije Mani Upadhyay

Share this question
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social Share Button

1 Answer

+1 vote
 
Best answer

A race condition is a situation when a device or system or process makes an attempt to perform two or more operations at the same time but because of the nature of the device or system, the operations must be done in the proper sequence in order to be done correctly.

In networking, a race condition occurs when two or more try to access the same channel
In a computer memory, a race condition occurs when a request to read and write data is received at the same time.
In multi threading, a race condition occurs when two or more threads can access shared data and they try to change it at the same time.

answer Jul 3, 2015 by Salil Agrawal
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...