title: How to make a thread wait until another thread finish?
body: <pre><code>Static lock As Object
  
  SyncLock lock
      TraverSingweb.TraverSingWeb.WebInvoke(Sub() TraverSingweb.TraverSingWeb.putHtmlIntoWebBrowser(theenchancedwinclient)) 'This quick function need to finish before we continue
  End SyncLock
  
  SyncLock lock
      'SuperGlobal.lockMeFirst(AddressOf SuperGlobal.doNothing) ' donothing
  End SyncLock
  </code></pre>
  
  <p>This is how I currently do in vb.net. Is this a pattern?</p>