linux c之使用pthread_create创建线程pthread_join等待线程和pthread_exit终止线程总结
1、介绍API1、pthread_create函数函数简介pthread_create是UNIX环境创建线程函数头文件#include函数声明intpthread_create(pthread_t*restricttidp,constpthread_attr_t*restrict_attr,void*(*start_rtn)(void*),void*restrictarg);返回值若成功则返回0,