aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/testdata
diff options
context:
space:
mode:
authorMichael Pratt <mpratt@google.com>2022-10-18 12:11:43 -0400
committerMichael Pratt <mpratt@google.com>2022-10-18 20:58:37 +0000
commit1f068f0dc7bc997446a7aac44cfc70746ad918e0 (patch)
tree18641c5f4a37a7b0784a581c078a43f691e307ba /src/runtime/testdata
parente252dcf9d38ce9192bccacb7e33867cbfbd22b6c (diff)
downloadgo-1f068f0dc7bc997446a7aac44cfc70746ad918e0.tar.xz
runtime: throw in unreachable exitThread
Several OSes don't ever reach exitThread, On AIX, Plan9, Solaris, and Windows, we throw if this function is accidentally reached. Do the same on Darwin and OpenBSD for consistency. Change-Id: Icd189b11179755a28b3ec48b267349c57facbf24 Reviewed-on: https://go-review.googlesource.com/c/go/+/443717 Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Michael Knyszek <mknyszek@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Michael Pratt <mpratt@google.com>
Diffstat (limited to 'src/runtime/testdata')
0 files changed, 0 insertions, 0 deletions