Linux多線程——創建線程

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,否則返回出錯編號
相關文章
相關標籤/搜索