pthread_create 创建线程,传递参数

pthread_create是UNIX环境创建线程函数 头文件   #include<pthread.h> 函数声明   int pthread_create(pthread_t*restrict tidp,const pthread_attr_t *restrict_attr,void*(*start_rtn)(void*),void *restrict arg); 返回值   若成功则返回0,
相关文章
相关标签/搜索