操作系统:原理与实现
Loading...
This site is best viewed in a modern browser with JavaScript enabled.
Something went wrong while trying to load the full version of this site. Try hard-refreshing this page to fix the error.
练习6.3答案有误
tikiwaka
N=2时为4行输出
N=4时为14行输出
huskydoge
请问您是不是考虑了并发的情况呢?能详细讲讲解答过程吗? 😀
mingyu
答案应该是没有问题的,请考虑fork()之后对i的值的影响。