Pergunta de entrevista da empresa Truecaller

Difference between atomic and thread-safe variables