title: Write a program that will surely go into deadlock
body: <p>I recently got this questions asked in an interview.</p>
  
  <p>I answered that deadlock occurs if the interleaving goes wrong, but the interviewer insisted that a program that will always go into deadlock regardless of interleaving can be written . </p>
  
  <p>Can we write such a program ? Can you point me to some example program like that ?</p>