OpenText Interview Question

How to write Singleton in multi threaded environment?