runtime: Restore scheduler stack position if cgo callback panics.
If we don't do this, then when C code calls back to Go code which panics, we lose space on the scheduler stack. If that happens a lot, eventually there is no space left on the scheduler stack. R=rsc CC=golang-dev https://golang.org/cl/3898042
Showing
Please
register
or
sign in
to comment