Microsoft interview question

Something with a timer, and thread.