blob: 15f8f44935a0bd5d926b07ac0ff72984e3e1d902 [file] [log] [blame]
Russ Cox25f6b022014-08-27 11:32:17 -04001// 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
5package runtime
6
7import "unsafe"
8
Russ Coxe785e3a2014-11-11 17:08:54 -05009func bsdthread_create(stk unsafe.Pointer, mm *m, gg *g, fn uintptr) int32
Russ Cox25f6b022014-08-27 11:32:17 -040010func bsdthread_register() int32
Russ Coxe785e3a2014-11-11 17:08:54 -050011
12//go:noescape
Russ Cox25f6b022014-08-27 11:32:17 -040013func mach_msg_trap(h unsafe.Pointer, op int32, send_size, rcv_size, rcv_name, timeout, notify uint32) int32
Russ Coxe785e3a2014-11-11 17:08:54 -050014
Russ Cox25f6b022014-08-27 11:32:17 -040015func mach_reply_port() uint32
16func mach_task_self() uint32
17func mach_thread_self() uint32
Russ Coxe785e3a2014-11-11 17:08:54 -050018
19//go:noescape
Russ Cox25f6b022014-08-27 11:32:17 -040020func sysctl(mib *uint32, miblen uint32, out *byte, size *uintptr, dst *byte, ndst uintptr) int32
Russ Coxe785e3a2014-11-11 17:08:54 -050021
22//go:noescape
23func sigprocmask(sig uint32, new, old *uint32)
24
25//go:noescape
26func sigaction(mode uint32, new, old *sigactiont)
27
28//go:noescape
29func sigaltstack(new, old *stackt)
30
Russ Cox25f6b022014-08-27 11:32:17 -040031func sigtramp()
Russ Coxe785e3a2014-11-11 17:08:54 -050032
33//go:noescape
34func setitimer(mode int32, new, old *itimerval)
35
36func raise(int32)
Russ Cox5bfed7c2015-01-14 11:18:24 -050037func raiseproc(int32)