摘要: pthread,Thread总结 pthread: 通用的多线程API 使用方法 // 1. 创建线程: 定义一个pthread_t类型变量 pthread_t thread; // 2. 开启线程: 执行任务 pthread_create(&thread, NULL, run, NULL); // 阅读全文
posted @ 2022-02-06 14:19 一眼万年的星空 阅读(251) 评论(0) 推荐(0) 编辑