runtime: copy more scheduler code from Go 1.7 runtime
commit7c626f8f219a1caff3dfde814d17add86de07d52
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 10 Jan 2017 21:09:00 +0000 (10 21:09 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 10 Jan 2017 21:09:00 +0000 (10 21:09 +0000)
tree74b83d3a2724b1e617c8716e2cfad76fddcc6bd8
parentae0a5f6808176421b1550f4dbce5c1c136b483b0
runtime: copy more scheduler code from Go 1.7 runtime

    I looked at a diff of proc.go between Go 1.7 and gccgo, and copied
    over all the easy stuff.

    Reviewed-on: https://go-review.googlesource.com/35090

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@244291 138bc75d-0d04-0410-961f-82ee72b054a4
13 files changed:
gcc/go/gofrontend/MERGE
libgo/go/runtime/debug.go
libgo/go/runtime/export_test.go
libgo/go/runtime/mprof.go
libgo/go/runtime/os_gccgo.go
libgo/go/runtime/proc.go
libgo/go/runtime/runtime2.go
libgo/go/runtime/stubs.go
libgo/runtime/heapdump.c
libgo/runtime/mgc0.c
libgo/runtime/proc.c
libgo/runtime/runtime.h
libgo/runtime/runtime_c.c