pthread_join函数介绍和使用实例

   1、pthread_join函数介绍:函数          函数pthread_join用来等待一个线程的结束,线程间同步的操做。头文件 : #include <pthread.h> 函数定义: int pthread_join(pthread_t thread, void **retval); 描述 :pthread_join()函数,以阻塞的方式等待thread指定的线程结束。当函数返
相关文章
相关标签/搜索