runtime: move schedt type and sched var from C to Go
authorIan Lance Taylor <ian@gcc.gnu.org>
Fri, 18 Nov 2016 17:48:29 +0000 (17:48 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 18 Nov 2016 17:48:29 +0000 (17:48 +0000)
commit092dd2bc335d124bdcf6aa1a27ea3196e90cc1ba
treefb1782f935ac669d4b7a6987b556622df8aef1a6
parent70e73d3c4277fa602999b3e3c104a06024932c70
runtime: move schedt type and sched var from C to Go

    This doesn't change any actual code, it just starts using the Go
    definition of the schedt type and the sched variable rather than the C
    definitions.

    The schedt type is tweaked slightly for gccgo.  We aren't going to
    release goroutine stacks, so we don't need separate gfreeStack and
    gfreeNostack lists.  We only have one size of defer function, so we
    don't need a list of 5 different pools.

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

From-SVN: r242600
gcc/go/gofrontend/MERGE
libgo/go/runtime/runtime2.go
libgo/go/runtime/stubs.go
libgo/runtime/proc.c