aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/sys_darwin.go1
-rw-r--r--src/runtime/sys_openbsd2.go1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/runtime/sys_darwin.go b/src/runtime/sys_darwin.go
index 88af894409..18b0490ebb 100644
--- a/src/runtime/sys_darwin.go
+++ b/src/runtime/sys_darwin.go
@@ -476,6 +476,7 @@ func pthread_cond_signal_trampoline()
// Not used on Darwin, but must be defined.
func exitThread(wait *atomic.Uint32) {
+ throw("exitThread")
}
//go:nosplit
diff --git a/src/runtime/sys_openbsd2.go b/src/runtime/sys_openbsd2.go
index f755cd528c..49bad8ed1d 100644
--- a/src/runtime/sys_openbsd2.go
+++ b/src/runtime/sys_openbsd2.go
@@ -250,6 +250,7 @@ func sigaltstack_trampoline()
// Not used on OpenBSD, but must be defined.
func exitThread(wait *atomic.Uint32) {
+ throw("exitThread")
}
//go:nosplit