What is race condition?
Could you please tell me what is Race Condition and how it results. How can we prevent from Race condition?
Does this occur if we create more number of childs or it occurs if we keep creating both childs and parents?
if multiple process concurrently access and modify a variable, then value of that variable depends upon the order of execution of those processes. in this case the programs may give unexpected result. this is known as race condition.
various synchronization mechanism is used to avoid race condition.
|All times are GMT -5. The time now is 12:57 AM.|