A comment

This commit is contained in:
Frans Kaashoek 2011-08-22 20:07:18 -04:00
parent d10d324e79
commit 194f8bf739

3
proc.c
View file

@ -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();
} }