NatWest Group interview question

how to create singleton in multi threaded environment