Cisco Interview Question

Thread-safe singleton pattern - asked to write the code