Difference between pthread_exit() and exit()?

c, pthreads

Solution

Did you read man pages?

`exit()` performs normal program termination, while `pthread_exit()` kills calling thread.

Problem

What's the difference between `pthread_exit()` and `exit()`?

Original source