目录 一、什么是进程: 二、什么是线程: 三、使用线程的理由: 四、线程和进程的区别: 五、与线程自身相关的API (1)pthread_create()函数:线程创建 (2)pthread_exit()函数:线程退出