I am making an iPhone application using threads. For some time I used C #, there was a method Thread.Join()that blocks the current thread to perform specific thread terminations. What is equivalent in Cocoa for this? Or alternatives?
--- edit ---
PS. I am using NSThread.
--- edit ---
I find a method like "waitForThreadExit" that blocks the thread of the caller until the thread completes execution.
Eonil source
share