title: What's the equivalent C# 'Thread.Join()' in Cocoa?
body: <p>I'm making an iPhone app using threads.
  I was used C# for a while, there was a method <code>Thread.Join()</code> which blocks current thread for specific thread completes execution. What's the equivalent in Cocoa for it? Or Alternatives?</p>
  
  <p>---edit---</p>
  
  <p>PS. I'm using NSThread.</p>
  
  <p>---edit---</p>
  
  <p>I'm finding a method like 'waitForThreadExit' which blocks caller thread until thread completes execution.</p>