aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/proc.go
diff options
context:
space:
mode:
authorTim King <taking@google.com>2024-09-10 22:56:40 +0000
committerTim King <taking@google.com>2024-09-10 23:32:53 +0000
commita9bd84e03786e8bd4bfb3780ce3283b0f3e1f3bf (patch)
tree0293cc8676b63aa707c44cd9e340eb23757a387b /src/runtime/proc.go
parent493517bb5c84e8f88ba74d4d2e8c3ac58fda7839 (diff)
downloadgo-a9bd84e03786e8bd4bfb3780ce3283b0f3e1f3bf.tar.xz
Revert "runtime: Goexit on C-created thread report more useful error message"
This reverts CL 602296. Reason for revert: Failing on several builders. Change-Id: I889c566d34294032c330d4f9402300ad0d5d3bf5 Reviewed-on: https://go-review.googlesource.com/c/go/+/611919 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/runtime/proc.go')
-rw-r--r--src/runtime/proc.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/runtime/proc.go b/src/runtime/proc.go
index 0909d138ff..c4db86225d 100644
--- a/src/runtime/proc.go
+++ b/src/runtime/proc.go
@@ -4321,9 +4321,6 @@ func gdestroy(gp *g) {
if locked && mp.lockedInt != 0 {
print("runtime: mp.lockedInt = ", mp.lockedInt, "\n")
- if mp.isextra {
- throw("runtime.Goexit called in a thread that was not created by the Go runtime")
- }
throw("exited a goroutine internally locked to the OS thread")
}
gfput(pp, gp)