runtime: add some more preemption checks
commit912bd566ad7b019aaca37ee4193f949afc34eaae
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Feb 2018 16:42:53 +0000 (16 16:42 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Feb 2018 16:42:53 +0000 (16 16:42 +0000)
treed5ba10b1e7a7066a1d806d7a74159a141f9f53b8
parent5d4ea37d1bc6a1ddaa19c1f1ac8210a51abb2751
runtime: add some more preemption checks

    In particular this lets BenchmarkPingPongHog in runtime/proc_test.go
    complete.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257743 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/go/gofrontend/MERGE
libgo/go/runtime/chan.go
libgo/go/runtime/hashmap.go
libgo/go/runtime/malloc.go
libgo/go/runtime/proc.go
libgo/go/runtime/select.go