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,
相關文章
相關標籤/搜索