]> Cypherpunks.ru repositories - gostls13.git/commit
Revert "runtime/cgo: store M for C-created thread in pthread key"
authorChressie Himpel <chressie@google.com>
Fri, 5 May 2023 14:17:38 +0000 (14:17 +0000)
committerChressie Himpel <chressie@google.com>
Fri, 5 May 2023 14:37:29 +0000 (14:37 +0000)
commit72c33a5ef0eea8663328375d9d339ed150310ebb
treea4272daf751239fcb9b2f1b8e1730800629f738c
parentf379e78951a405e7e99a60fb231eeedbf976c108
Revert "runtime/cgo: store M for C-created thread in pthread key"

This reverts CL 485500.

Reason for revert: This breaks internal tests at Google, see b/280861579 and b/280820455.

Change-Id: I426278d400f7611170918fc07c524cb059b9cc55
Reviewed-on: https://go-review.googlesource.com/c/go/+/492995
Reviewed-by: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Chressie Himpel <chressie@google.com>
46 files changed:
misc/cgo/test/cgo_test.go
misc/cgo/test/cthread_unix.c
misc/cgo/test/cthread_windows.c
misc/cgo/test/testx.go
misc/cgo/testcarchive/carchive_test.go
misc/cgo/testcarchive/testdata/libgo9/a.go [deleted file]
misc/cgo/testcarchive/testdata/main9.c [deleted file]
misc/cgo/testsanitizers/testdata/tsan14.go [deleted file]
misc/cgo/testsanitizers/tsan_test.go
src/runtime/asm_386.s
src/runtime/asm_amd64.s
src/runtime/asm_arm.s
src/runtime/asm_arm64.s
src/runtime/asm_loong64.s
src/runtime/asm_mips64x.s
src/runtime/asm_mipsx.s
src/runtime/asm_ppc64x.s
src/runtime/asm_riscv64.s
src/runtime/asm_s390x.s
src/runtime/cgo.go
src/runtime/cgo/asm_386.s
src/runtime/cgo/asm_amd64.s
src/runtime/cgo/asm_arm.s
src/runtime/cgo/asm_arm64.s
src/runtime/cgo/asm_loong64.s
src/runtime/cgo/asm_mips64x.s
src/runtime/cgo/asm_mipsx.s
src/runtime/cgo/asm_ppc64x.s
src/runtime/cgo/asm_riscv64.s
src/runtime/cgo/asm_s390x.s
src/runtime/cgo/asm_wasm.s
src/runtime/cgo/callbacks.go
src/runtime/cgo/gcc_libinit.c
src/runtime/cgo/gcc_libinit_windows.c
src/runtime/cgo/gcc_stack_darwin.c [deleted file]
src/runtime/cgo/gcc_stack_unix.c [deleted file]
src/runtime/cgo/gcc_stack_windows.c [deleted file]
src/runtime/cgo/libcgo.h
src/runtime/cgocall.go
src/runtime/crash_cgo_test.go
src/runtime/proc.go
src/runtime/runtime2.go
src/runtime/signal_unix.go
src/runtime/stubs.go
src/runtime/testdata/testprogcgo/bindm.c [deleted file]
src/runtime/testdata/testprogcgo/bindm.go [deleted file]