Concurrency - Thread Safe
About
Threads communicate primarily by sharing access to fields and the objects reference fields refer to. This form of communication is extremely efficient, but makes two kinds of errors possible:
- and memory consistency errors.
The tool needed to prevent these errors is synchronization.
