POSIX thread termination

A thread terminates due to pthread_exit(), pthread_kill(), or pthread_cancel(), or returns from the start routine of the thread in a POSIX environment. When a thread issues a exit() or _exit() or encounters an unhandled condition, that thread terminates and all other active threads are also forced to terminate. The z/OS UNIX (POSIX) environment supports multiple threads; each thread is terminated, as follows:
For more detailed information about POSIX functions, refer to the following resources: