![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
多线程
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 · 277 阅读 · 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 · 260 阅读 · 0 评论