Thread Safety
A programming concept applicable in context of multi-threaded programs where shared data structures are manipulated without race conditions.
Definition
A programming concept applicable in context of multi-threaded programs where shared data structures are manipulated without race conditions.
Use case
Using mutexes or locks so two parallel threads don't write to the same memory location simultaneously.
Related terms
Articles
Thread safety
What goes wrong when parallel code shares data, and the tools that prevent it.