📅  最后修改于: 2022-03-11 15:00:14.206000             🧑  作者: Mango
The pthread_join() function provides a simple mechanism allowing an
application to wait for a thread to terminate.
After the thread terminates, the application may then choose to
clean up resources that were used by the thread.