pthread_join (tid,NULL);. 创建线程之后直接调用pthread_join方法就行了。 二、为什么要使用pthread_join(). 在很多情况下,主线程生成 ...
確定! 回上一頁