[Return to Bookshelf] [Contents] [Previous Section] [Next Section] [Index] [Help]


2.3.3 Other Synchronization Methods

Another synchronization method that you can use is to call pthread_ join. This routine allows a thread to wait for a specific thread to complete its execution. When the specified thread terminates, the joining thread is unblocked and continues its execution. See Section 2.1.2 for information on terminating a thread.