A flaw in which the outcome depends on the unpredictable timing of concurrent processes using a shared resource, leavin…