Computer Science, asked by lungumemory1997, 19 days ago

what is race condition and how can processes enter into race condition

Answers

Answered by palneeta1984
0

Answer:

Mrk me as brainliest

A race condition occurs when a software program depends on the timing of one or more processes to function correctly. If a thread runs or finishes at an unexpected time, it may cause unpredictable behavior, such as incorrect output or a program deadlock.

Explanation:

A race condition occurs when two threads access a shared variable at the same time. ... Then the first thread and second thread perform their operations on the value, and they race to see which thread can write the value last to the shared variable.

Similar questions