title: Can two SyncLocked code blocks, which are Locked with a same object, ever execute at the same time?
body: <p>I just want to make sure I understand SyncLock correctly. Given the following code is it safe to say that none of these blocks will ever be executed at the same time? Or is it safe to say that no other code will be executed during the execution of any of those blocks? I am having trouble understanding what exactly a SyncLock does and why it needs a random object to lock on?</p>
  
  <pre><code>Dim PADLOCK As Object = New Object()
  </code></pre>
  
  <p>Block A:</p>
  
  <pre><code>SyncLock PADLOCK
     '...Code
  End SyncLock
  </code></pre>
  
  <p>Block B:</p>
  
  <pre><code>SyncLock PADLOCK
     '...Code
  End SyncLock
  </code></pre>
  
  <p>Block C:</p>
  
  <pre><code>SyncLock PADLOCK
     '...Code
  End SyncLock
  </code></pre>