aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/runtime2.go
diff options
context:
space:
mode:
authorDavid Crawshaw <crawshaw@golang.org>2015-03-25 07:10:45 -0400
committerDavid Crawshaw <crawshaw@golang.org>2015-03-26 11:12:25 +0000
commite9d9d0befc634f6e9f906b5ef7476fbd7ebd25e3 (patch)
tree831077a9975e227e4253e2647201cec9f6c118e5 /src/runtime/runtime2.go
parentc5c6c3ab5728ecbecac69788eefa5fb185c0b72f (diff)
downloadgo-e9d9d0befc634f6e9f906b5ef7476fbd7ebd25e3.tar.xz
runtime, runtime/cgo: make needextram a bool
Also invert it, which means it no longer needs to cross the cgo package boundary. Change-Id: I393cd073bda02b591a55d6bc6b8bb94970ea71cd Reviewed-on: https://go-review.googlesource.com/8082 Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: David Crawshaw <crawshaw@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/runtime/runtime2.go')
-rw-r--r--src/runtime/runtime2.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/runtime/runtime2.go b/src/runtime/runtime2.go
index 9ea3fd197f..0d3e542882 100644
--- a/src/runtime/runtime2.go
+++ b/src/runtime/runtime2.go
@@ -605,11 +605,9 @@ var (
allm *m
allp [_MaxGomaxprocs + 1]*p
gomaxprocs int32
- needextram uint32
panicking uint32
goos *int8
ncpu int32
- iscgo bool
signote note
forcegc forcegcstate
sched schedt