提交 194f8bf7 创建 作者: Frans Kaashoek's avatar Frans Kaashoek

A comment

上级 d10d324e
...@@ -327,6 +327,9 @@ forkret(void) ...@@ -327,6 +327,9 @@ forkret(void)
release(&ptable.lock); release(&ptable.lock);
if (first) { if (first) {
// Some initialization functions must be run in the context
// of a regular process (e.g., they call sleep), and thus cannot
// be run from main().
first = 0; first = 0;
initlog(); initlog();
} }
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论