NiCE interview question

How to make singleton class thread safe and its implementation