blob: 8c8a10661d584b3970433a106b238432f4454a48 [file] [log] [blame]
Colin Cross7bb052a2015-02-03 12:59:37 -08001// 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
Dan Willemsen6ff23252015-09-15 13:49:18 -07009//go:noescape
10func thr_new(param *thrparam, size int32)
11
12//go:noescape
13func sigaltstack(new, old *stackt)
14
15//go:noescape
16func sigfwd(fn uintptr, sig uint32, info *siginfo, ctx unsafe.Pointer)
17
18//go:noescape
19func sigaction(sig int32, new, old *sigactiont)
20
21//go:noescape
22func sigprocmask(how int32, new, old *sigset)
23
24//go:noescape
25func setitimer(mode int32, new, old *itimerval)
26
27//go:noescape
Colin Cross7bb052a2015-02-03 12:59:37 -080028func sysctl(mib *uint32, miblen uint32, out *byte, size *uintptr, dst *byte, ndst uintptr) int32
Dan Willemsen6ff23252015-09-15 13:49:18 -070029
30//go:noescape
Colin Cross7bb052a2015-02-03 12:59:37 -080031func getrlimit(kind int32, limit unsafe.Pointer) int32
32func raise(sig int32)
Dan Willemsen6ff23252015-09-15 13:49:18 -070033func raiseproc(sig int32)
34
35//go:noescape
36func sys_umtx_op(addr *uint32, mode int32, val uint32, ptr2, ts *timespec) int32
37
38func osyield()