1 // Copyright 2019 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.
38 _PTHREAD_CREATE_DETACHED = 0x1
102 tf_tcb unsafe.Pointer
107 type sigcontext struct {
118 type siginfo struct {
133 type timespec struct {
139 func (ts *timespec) setNsec(ns int64) {
141 ts.tv_nsec = ns % 1e9
144 type timeval struct {
149 func (tv *timeval) set_usec(x int32) {
150 tv.tv_usec = int64(x)
153 type itimerval struct {
158 type keventt struct {
168 type pthreadattr uintptr
169 type pthreadcond uintptr
170 type pthreadcondattr uintptr
171 type pthreadmutex uintptr
172 type pthreadmutexattr uintptr