【io】多线程编程函数汇总、用法、功能(pthread_create、pthread_self、pthread_exit、pthread_jion、pthread_detach......)_pthread多线程编程-爱代码爱编程
目录 1、pthread_create函数介绍(创建线程) 2、pthread_self:线程号的获取 3、pthread_exit:线程退出函数 4、pthread_jion : 线程资源的回收 5、pthread_detach:线程分离态 6、pthread_setcancelstate:设置取消属性 ***以下是线程互斥相关的API