diff options
| author | Cherry Mui <cherryyz@google.com> | 2023-03-31 19:16:12 +0000 |
|---|---|---|
| committer | Cherry Mui <cherryyz@google.com> | 2023-03-31 19:26:35 +0000 |
| commit | bfe3c678ab70d9a033b219276636c3f4669c1dc9 (patch) | |
| tree | 26b80494f04e11f926350aaf9d19eff0bc0d6fae /src/runtime/runtime2.go | |
| parent | 99276aeb5e8b40ff9cd3cafd47ce11c58ba0130c (diff) | |
| download | go-bfe3c678ab70d9a033b219276636c3f4669c1dc9.tar.xz | |
Revert "runtime/cgo: store M for C-created thread in pthread key"
This reverts CL 392854.
Reason for revert: caused #59294, which was derived from google
internal tests. The attempted fix of #59294 caused more breakage.
Change-Id: I5a061561ac2740856b7ecc09725ac28bd30f8bba
Reviewed-on: https://go-review.googlesource.com/c/go/+/481060
Reviewed-by: Heschi Kreinick <heschi@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/runtime/runtime2.go')
| -rw-r--r-- | src/runtime/runtime2.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/runtime/runtime2.go b/src/runtime/runtime2.go index 3ef7521ff3..a9706a642e 100644 --- a/src/runtime/runtime2.go +++ b/src/runtime/runtime2.go @@ -561,7 +561,6 @@ type m struct { printlock int8 incgo bool // m is executing a cgo call isextra bool // m is an extra m - isExtraInC bool // m is an extra m that is not executing Go code freeWait atomic.Uint32 // Whether it is safe to free g0 and delete m (one of freeMRef, freeMStack, freeMWait) fastrand uint64 needextram bool |
