Pergunta de entrevista da empresa Ericsson

How did you make your code Thread Safe?