1 // Code generated by cgo, then manually converted into appropriate naming and code
3 // go tool cgo -godefs defs_freebsd.go
12 _CPU_LEVEL_WHICH = 0x3
45 _CLOCK_MONOTONIC = 0x4
48 _UMTX_OP_WAIT_UINT = 0xb
49 _UMTX_OP_WAIT_UINT_PRIVATE = 0xf
51 _UMTX_OP_WAKE_PRIVATE = 0x10
102 _ITIMER_VIRTUAL = 0x1
120 type thrparam struct {
125 tls_base unsafe.Pointer
127 child_tid unsafe.Pointer // *int64
135 type thread int64 // long
148 type siginfo struct {
170 fp_q [64]uint64 // actually [32]uint128
177 type mcontext struct {
185 type ucontext struct {
195 type timespec struct {
201 func (ts *timespec) setNsec(ns int64) {
203 ts.tv_nsec = ns % 1e9
206 type timeval struct {
211 func (tv *timeval) set_usec(x int32) {
212 tv.tv_usec = int64(x)
215 type itimerval struct {
220 type umtx_time struct {
226 type keventt struct {
236 type bintime struct {
241 type vdsoTimehands struct {
253 type vdsoTimekeep struct {
261 _VDSO_TK_VER_CURR = 0x1
263 vdsoTimehandsSize = 0x58
264 vdsoTimekeepSize = 0x10