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.
Glossary: System Design Basics in C++
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.