runtime: do not preempt race calls
In the crash stack trace race cgocall() calls endcgo(), this means that m->racecall is wrong. Indeed this can happen is a goroutine is rescheduled to another M during race call. Disable preemption for race calls. Fixes #6155. R=golang-dev, rsc, cshapiro CC=golang-dev https://golang.org/cl/12866045
Showing
Please register or sign in to comment