Pergunta de entrevista da empresa Cisco

Thread-safe singleton pattern - asked to write the code