Skip to content

Glossary: System Design Basics in C++

data race

Also written: data races

Two threads using the same data at once with at least one writing and no lock. In C++ this is undefined behavior, which a mutex prevents.

Where the book teaches it

Related terms

mutex (std::mutex)