多线程
LAN74__
? :
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
多线程学习(一)
多线程在C++中占有很重要的一部分,也是很重要的一部分fork函数#include <iostream> #include <unistd.h> using namespace std; int main(){ pid_t pid; int num = 10; for(int i = 1;i <= 3;i++) cout << "befor i = " <<原创 2017-12-21 20:29:07 · 368 阅读 · 0 评论 -
多线程学习(二)
/************************** execl 函数的应用 **************************/ #include <iostream> #include <stdlib.h> #include <unistd.h> #include <sys/stat.h> #include <sys/types.h> using namespace std; int原创 2017-12-21 21:32:47 · 335 阅读 · 0 评论
分享