找回密码
 骑士注册

QQ登录

微博登录

❏ 站外平台:

发表评论

回复 linux [Chrome 57.0|Mac 10.11] 的评论:
1、应该翻译为“写时复制”。2、同意。3、确实,exec 并非创建了新的进程,只是替代。但是由于原进程被替代,所以习惯上认为是创建了新的、PID 一样的进程——这确实是不够严谨。4、原文关于创建主要是这样的一段“A new process is normally created when an existing process makes an exact copy of itself in memory. The child process will have the same environment as its parent, but only the process ID number is different.”这里 “但是只有进程号是不同的”,在 exec 的情况下是不对的,因此才没有采用原文。谢谢您的认真阅读和意见!

返回顶部

分享到微信

打开微信,点击顶部的“╋”,
使用“扫一扫”将网页分享至微信。