title: Joining Thread in Groovy
body: <p>What does the <code>join</code> method do?<br>
  As in:</p>
  
  <pre><code>def thread = Thread.start { println "new thread" }
  thread.join()
  </code></pre>
  
  <p>This code works fine even without the <code>join</code> statement.</p>