-
Shenghou Ma authored
using m->tls[0] to save ucontext pointer is not re-entry safe, and the old code didn't set it before the early return when signal is received on non-Go threads. so misc/cgo/test used to hang when testing issue 5337. R=golang-dev, bradfitz, rsc CC=golang-dev https://golang.org/cl/10076045
e5551725