UKG Interview Question

Singleton Pattern implementation and how to make it thread-safe ?