]> Cypherpunks repositories - gostls13.git/commit
runtime: remove singleproc var
authorDmitriy Vyukov <dvyukov@google.com>
Mon, 5 Aug 2013 18:58:02 +0000 (22:58 +0400)
committerDmitriy Vyukov <dvyukov@google.com>
Mon, 5 Aug 2013 18:58:02 +0000 (22:58 +0400)
commitd5ab7846113004e7fa3aaf64691d3d170988c311
tree1b674b3c6f1b703898adb14898998e8ca5eeefce
parentf73972fa333ad3291c9b7118cf7ca129a758cb66
runtime: remove singleproc var
It was needed for the old scheduler,
because there temporary could be more threads than gomaxprocs.
In the new scheduler gomaxprocs is always respected.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/12438043
src/pkg/runtime/mgc0.c
src/pkg/runtime/proc.c
src/pkg/runtime/runtime.h