man thread_join

有一个pthread的简单例子

wikipedia中的例子

http://en.wikipedia.org/wiki/POSIX_Threads

原文地址:https://www.cnblogs.com/lexus/p/2887111.html