]> Cypherpunks.ru repositories - gostls13.git/blobdiff - src/runtime/proc.go
[dev.typeparams] all: merge master (4711bf3) into dev.typeparams
[gostls13.git] / src / runtime / proc.go
index f13f7d20a3578f1c1645e06545c2ef5256f36989..4dc1811fc6b9dc67c41c1078592f3c086d674571 100644 (file)
@@ -1510,6 +1510,8 @@ found:
        }
        unlock(&sched.lock)
 
+       atomic.Xadd64(&ncgocall, int64(m.ncgocall))
+
        // Release the P.
        handoffp(releasep())
        // After this point we must not have write barriers.