commit 194f8bf739d441283c56985017c4a6f1b35a99cd parent d10d324e79bdcd7d7ab57952e6b140009737e868 Author: Frans Kaashoek <kaashoek@Frans-Kaashoeks-MacBook-Pro.local> Date: Mon, 22 Aug 2011 20:07:18 -0400 A comment Diffstat:
M | proc.c | | | 3 | +++ |
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/proc.c b/proc.c @@ -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(); }