Zynga interview question

Implement a blocked queue.