Result of a computation depends on the speed of the processes involved - Race condition

Q.  What is known as a race condition?

- Published on 16 Jun 15

a. When a deadlock occurs
b. When it has a starvation and not a deadlock
c. When the result of a computation depends on the speed of the processes involved
d. When it cannot have a subroutine call.

ANSWER: When the result of a computation depends on the speed of the processes involved
 
A race condition generally occurs when two or more operations are being performed together. A simple example of a race condition can be a light switch.

Post your comment / Share knowledge


Enter the code shown above:
 
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)