Domanda di colloquio di Ericsson

How did you make your code Thread Safe?