title: Why do nested locks not cause a deadlock?
body: <p>Why does this code not cause a deadlock?</p>
  
  <pre><code>   private static readonly object a = new object();
  </code></pre>
  
  <p>... </p>
  
  <pre><code>   lock(a)
     {
        lock(a)
        {
           ....
        }
     }
  </code></pre>