Question

What is a race condition in the context of synchronization?

A A condition that occurs when two or more threads access shared data concurrently, leading to unpredictable results Correct Answer Incorrect Answer
B A condition that prevents a process from executing Correct Answer Incorrect Answer
C A condition that occurs when a process is terminated unexpectedly Correct Answer Incorrect Answer
D A condition that causes excessive CPU usage Correct Answer Incorrect Answer

Solution

A condition that occurs when two or more threads access shared data concurrently, leading to unpredictable results

Practice Next

Relevant for Exams:

×
×