1
0
mirror of https://github.com/golang/go synced 2024-09-30 11:18:33 -06:00
go/misc/cgo
Michael Pratt 94850c6f79 Revert "runtime/cgo: store M for C-created thread in pthread key"
This reverts CL 481061.

Reason for revert: When built with C TSAN, x_cgo_getstackbound triggers
race detection on `g->stacklo` because the synchronization is in Go,
which isn't instrumented.

For #51676.
For #59294.
For #59678.

Change-Id: I38afcda9fcffd6537582a39a5214bc23dc147d47
Reviewed-on: https://go-review.googlesource.com/c/go/+/485275
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Michael Pratt <mpratt@google.com>
Run-TryBot: Michael Pratt <mpratt@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
2023-04-17 18:47:08 +00:00
..
errors runtime: reimplement GODEBUG=cgocheck=2 as a GOEXPERIMENT 2023-02-16 00:16:24 +00:00
fortran misc/cgo/fortran: convert to Go test 2022-10-17 15:15:37 +00:00
gmp misc/cgo: remove +build lines, add go:build where needed 2023-04-10 22:32:35 +00:00
life misc/cgo: gofmt 2023-04-10 22:32:33 +00:00
nocgo
stdio misc/cgo/{life,stdio}: remove reliance on test/run.go 2023-02-28 01:11:11 +00:00
test Revert "runtime/cgo: store M for C-created thread in pthread key" 2023-04-17 18:47:08 +00:00
testcarchive Revert "runtime/cgo: store M for C-created thread in pthread key" 2023-04-17 18:47:08 +00:00
testcshared cmd/internal/sys, cmd/dist, misc/cgo/testcshared: enable c-shared feature and test on loong64 2023-04-12 20:06:37 +00:00
testgodefs misc/cgo: remove +build lines, add go:build where needed 2023-04-10 22:32:35 +00:00
testplugin misc/cgo: remove +build lines, add go:build where needed 2023-04-10 22:32:35 +00:00
testsanitizers misc/cgo: gofmt 2023-04-10 22:32:33 +00:00
testshared misc/cgo: remove +build lines, add go:build where needed 2023-04-10 22:32:35 +00:00
testso misc/cgo: remove +build lines, add go:build where needed 2023-04-10 22:32:35 +00:00
testsovar misc/cgo: remove +build lines, add go:build where needed 2023-04-10 22:32:35 +00:00
testtls misc/cgo: remove +build lines, add go:build where needed 2023-04-10 22:32:35 +00:00