Microsoft interview question

Design OOP, thread management, deadlocks