diff options
| author | Frans Kaashoek <kaashoek@Frans-Kaashoeks-MacBook-Pro.local> | 2011-08-22 20:07:18 -0400 |
|---|---|---|
| committer | Frans Kaashoek <kaashoek@Frans-Kaashoeks-MacBook-Pro.local> | 2011-08-22 20:07:18 -0400 |
| commit | 194f8bf739d441283c56985017c4a6f1b35a99cd (patch) | |
| tree | c6dc5d8dcf2ddc2b4fd8c0477fc7d2a665334836 | |
| parent | d10d324e79bdcd7d7ab57952e6b140009737e868 (diff) | |
| download | xv6-labs-194f8bf739d441283c56985017c4a6f1b35a99cd.tar.gz xv6-labs-194f8bf739d441283c56985017c4a6f1b35a99cd.tar.bz2 xv6-labs-194f8bf739d441283c56985017c4a6f1b35a99cd.zip | |
A comment
| -rw-r--r-- | proc.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -327,6 +327,9 @@ forkret(void) release(&ptable.lock); 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; initlog(); } |
