aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/defs_openbsd_arm64.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/defs_openbsd_arm64.go')
-rw-r--r--src/runtime/defs_openbsd_arm64.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/runtime/defs_openbsd_arm64.go b/src/runtime/defs_openbsd_arm64.go
index 628f4bc5a5..63ea8dfecc 100644
--- a/src/runtime/defs_openbsd_arm64.go
+++ b/src/runtime/defs_openbsd_arm64.go
@@ -31,6 +31,8 @@ const (
_SA_RESTART = 0x2
_SA_ONSTACK = 0x1
+ _PTHREAD_CREATE_DETACHED = 0x1
+
_SIGHUP = 0x1
_SIGINT = 0x2
_SIGQUIT = 0x3
@@ -157,3 +159,10 @@ type keventt struct {
data int64
udata *byte
}
+
+type pthread uintptr
+type pthreadattr uintptr
+type pthreadcond uintptr
+type pthreadcondattr uintptr
+type pthreadmutex uintptr
+type pthreadmutexattr uintptr