摘要:
这篇随笔也是看到陈皓的这篇文章自己做了一些测试和学习,http://coolshell.cn/articles/7965.html1. 两个fork程序关于fork,先看我们的第一个fork测试程序 1 #include<stdio.h> 2 #include<unistd.h> 3 int main(){ 4 for(int i=0; i<2; i++){ 6 int result = fork(); 7 if(result == 0){ 8 printf("child process -----"); 9 }... 阅读全文
posted @ 2012-08-08 15:12
小宇2
阅读(1662)
评论(3)
推荐(1)

浙公网安备 33010602011771号