1 // Copyright 2014 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. 4 5 package runtime 6 7 import "unsafe" 8 9 func bsdthread_create(stk, arg unsafe.Pointer, fn uintptr) int32 10 func bsdthread_register() int32 11 12 //go:noescape 13 func mach_msg_trap(h unsafe.Pointer, op int32, send_size, rcv_size, rcv_name, timeout, notify uint32) int32 14 15 func mach_reply_port() uint32 16 func mach_task_self() uint32 17 func mach_thread_self() uint32 18 19 //go:noescape 20 func sysctl(mib *uint32, miblen uint32, out *byte, size *uintptr, dst *byte, ndst uintptr) int32 21 22 //go:noescape 23 func sigprocmask(how uint32, new, old *uint32) 24 25 //go:noescape 26 func sigaction(mode uint32, new, old *sigactiont) 27 28 //go:noescape 29 func sigaltstack(new, old *stackt) 30 31 func sigtramp() 32 33 //go:noescape 34 func setitimer(mode int32, new, old *itimerval) 35 36 func raise(sig int32) 37 func raiseproc(int32) 38