]> Cypherpunks repositories - gostls13.git/commit
change meaning of $GOMAXPROCS to number of cpus to use,
authorRuss Cox <rsc@golang.org>
Wed, 26 Nov 2008 00:48:10 +0000 (16:48 -0800)
committerRuss Cox <rsc@golang.org>
Wed, 26 Nov 2008 00:48:10 +0000 (16:48 -0800)
commitefc86a74e4e1f0bf38e42271dae11d7a23026b4d
tree743804e70a46a7102c893ee7aa4e1684b477f272
parent7cfa7eebf31126d7614281290d484874ad63413a
change meaning of $GOMAXPROCS to number of cpus to use,
not number of threads.  can still starve all the other threads,
but only by looping, not by waiting in a system call.

fix darwin syscall.Syscall6 bug.

fix chanclient bug.

delete $GOMAXPROCS from network tests.

add stripped down printf, sys.printhex to runtime.

R=r
DELTA=355  (217 added, 36 deleted, 102 changed)
OCL=20017
CL=20019
src/lib/net/fd.go
src/lib/syscall/asm_amd64_darwin.s
src/lib/syscall/asm_amd64_linux.s
src/runtime/print.c
src/runtime/proc.c
src/runtime/rt1_amd64_darwin.c
src/runtime/rt1_amd64_linux.c
src/runtime/runtime.h
test/dialgoogle.go
test/tcpserver.go