Get the answers you need at Westonci.ca, where our expert community is dedicated to providing you with accurate information. Experience the ease of finding accurate answers to your questions from a knowledgeable community of professionals. Explore comprehensive solutions to your questions from knowledgeable professionals across various fields on our platform.

What does the 'pthread_exit() function do in a Pthreads program?
a. It initializes thread attributes
b. It terminates the calling thread
c. It terminates the main thread
d. It creates a new thread