或者将线程置为joinable,然后适时调用pthread_join. 其实简单的说就是在线程函数头加上pthread_detach(pthread_self())的话,线程状态改变,在函数尾部 ...
確定! 回上一頁