1 // Copyright 2023 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
7 // GOARCH=ppc64 go tool cgo -godefs defs_openbsd.go
9 // Then converted to the form used by the runtime.
44 _PTHREAD_CREATE_DETACHED = 0x1
108 tf_tcb unsafe.Pointer
113 type sigcontext struct {
130 type siginfo struct {
145 type timespec struct {
151 func (ts *timespec) setNsec(ns int64) {
153 ts.tv_nsec = ns % 1e9
156 type timeval struct {
161 func (tv *timeval) set_usec(x int32) {
162 tv.tv_usec = int64(x)
165 type itimerval struct {
170 type keventt struct {
180 type pthreadattr uintptr
181 type pthreadcond uintptr
182 type pthreadcondattr uintptr
183 type pthreadmutex uintptr
184 type pthreadmutexattr uintptr