![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
操作系统原理
嘻嘻嘻277
努力学习,每天运动,早睡早起。
NNU菜鸡一枚,正在为GSoC努力准备!
展开
-
【操作系统原理】fork()生成8个进程的理解
代码: #include <stdio.h> #include <unistd.h> #include <sys/types.h> int main() { int i,p_id; if((p_id==fork())==0) { for(int i=1;i<3;i++) printf("This is child process\n"); if(p_id==-1) {原创 2020-09-17 19:24:01 · 1160 阅读 · 0 评论 -
【操作系统原理】学校内容汇总
0917_fork原创 2020-09-17 19:21:55 · 110 阅读 · 0 评论