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>
This commit is contained in:
David Crawshaw 2015-03-25 07:10:45 -04:00
parent c5c6c3ab57
commit e9d9d0befc
4 changed files with 10 additions and 8 deletions

View file

@ -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