aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/runtime.h
diff options
context:
space:
mode:
authorDmitriy Vyukov <dvyukov@google.com>2013-08-05 22:58:02 +0400
committerDmitriy Vyukov <dvyukov@google.com>2013-08-05 22:58:02 +0400
commitd5ab7846113004e7fa3aaf64691d3d170988c311 (patch)
tree1b674b3c6f1b703898adb14898998e8ca5eeefce /src/pkg/runtime/runtime.h
parentf73972fa333ad3291c9b7118cf7ca129a758cb66 (diff)
downloadgo-d5ab7846113004e7fa3aaf64691d3d170988c311.tar.xz
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
Diffstat (limited to 'src/pkg/runtime/runtime.h')
-rw-r--r--src/pkg/runtime/runtime.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/pkg/runtime/runtime.h b/src/pkg/runtime/runtime.h
index 15520b57eb..951376a52f 100644
--- a/src/pkg/runtime/runtime.h
+++ b/src/pkg/runtime/runtime.h
@@ -700,7 +700,6 @@ extern M* runtime·allm;
extern P** runtime·allp;
extern int32 runtime·gomaxprocs;
extern uint32 runtime·needextram;
-extern bool runtime·singleproc;
extern uint32 runtime·panicking;
extern uint32 runtime·gcwaiting; // gc is waiting to run
extern int8* runtime·goos;