runtime: copy more scheduler code from Go 1.7 runtime
authorIan Lance Taylor <ian@gcc.gnu.org>
Tue, 10 Jan 2017 21:09:00 +0000 (21:09 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 10 Jan 2017 21:09:00 +0000 (21:09 +0000)
commit6fcb740ac456e4703b337584b26305a77a5c5038
tree74b83d3a2724b1e617c8716e2cfad76fddcc6bd8
parentc16880eff008084f55a56a07cb7a16453d2b94c4
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

From-SVN: r244291
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