what is race condition in multi threating and how to solve it?
plz help me..
Answers
Answered by
1
Answer:
A race condition occurs when two or more threads can access shared data and they try to change it at the same time. Because the thread scheduling algorithm can swap between threads at any time, you don't know the order in which the threads will attempt to access the shared data.
Hope it helps
Mark brainliest
Similar questions