MTBuilder AcademyLearn it. Test it. Build it.
Bench reference · 254 terms

Words worth knowing

Start with the plain-language meaning, then reach for the technical definition when you need precision.

Showing 1 term

Race condition

Also: data race, timing race

Link to term
In plain language

A bug where the outcome depends on uncontrolled ordering of concurrent events.

Technical definition

Non-atomic shared-state access can lose updates or observe inconsistent combinations; synchronization must protect the invariant.

Example Main code clears a flag just as an ISR sets it, losing an event.

Common misconception A race may disappear under logging because timing changed, not because the code became correct.