OpenText interview question

How to write Singleton in multi threaded environment?