commit | 9350ef4eea88caf6b184c9455db140c7cb8082db | [log] [tgz] |
---|---|---|
author | Russ Cox <rsc@golang.org> | Wed Sep 17 13:49:23 2008 -0700 |
committer | Russ Cox <rsc@golang.org> | Wed Sep 17 13:49:23 2008 -0700 |
tree | 3ffedc8f443bc3d02505140c254c839cf5ce73da | |
parent | a456463891697503409f3afb204f1baca3cb8b0e [diff] [blame] |
add network listening & tests R=r,presotto OCL=15410 CL=15440
diff --git a/src/runtime/proc.c b/src/runtime/proc.c index 6a741f8..62efd45 100644 --- a/src/runtime/proc.c +++ b/src/runtime/proc.c
@@ -78,7 +78,7 @@ byte *p; sched.mmax = 1; - p = getenv("gomaxprocs"); + p = getenv("GOMAXPROCS"); if(p != nil && (n = atoi(p)) != 0) sched.mmax = n; sched.mcount = 1;