Pthread Programming Part 3 - Joining and Exiting Threads

Subscriber content preview. For full access to the Red Hat Knowledgebase, please log in.

Not a subscriber? Learn more about the benefits of Red Hat Subscriptions.

In part 3 of the Pthread Programming series, George Hacker demonstrates how to join threads, exit threads gracefully, and terminate other threads using pthread_kill or pthread_cancel functions.