aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/proc.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/proc.go')
-rw-r--r--src/runtime/proc.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/runtime/proc.go b/src/runtime/proc.go
index 15fc0f8dc6..2b73b32c34 100644
--- a/src/runtime/proc.go
+++ b/src/runtime/proc.go
@@ -4189,6 +4189,7 @@ func newproc1(fn *funcval, callergp *g, callerpc uintptr) *g {
_p_.goidcache++
if raceenabled {
newg.racectx = racegostart(callerpc)
+ newg.raceignore = 0
if newg.labels != nil {
// See note in proflabel.go on labelSync's role in synchronizing
// with the reads in the signal handler.