NVIDIA interview question

1. How will you create Singleton class, lazy initialization, thread safety etc.