mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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:
parent
c5c6c3ab57
commit
e9d9d0befc
4 changed files with 10 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue