DPL Interview Question

What is singleton pattern? how to handle deadlock problem in singleton?