Truecaller interview question

Difference between atomic and thread-safe variables