libgo, compiler: Upgrade libgo to Go 1.4, except for runtime.
[official-gcc.git] / libgo / go / runtime / os_dragonfly.go
blobcdaa06986ee6e85dfb4ba40abe90a3c6fe671bea
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.
5 package runtime
7 import "unsafe"
9 func lwp_create(param unsafe.Pointer) int32
10 func sigaltstack(new, old unsafe.Pointer)
11 func sigaction(sig int32, new, old unsafe.Pointer)
12 func sigprocmask(new, old unsafe.Pointer)
13 func setitimer(mode int32, new, old unsafe.Pointer)
14 func sysctl(mib *uint32, miblen uint32, out *byte, size *uintptr, dst *byte, ndst uintptr) int32
15 func getrlimit(kind int32, limit unsafe.Pointer) int32
16 func raise(sig int32)
17 func sys_umtx_sleep(addr unsafe.Pointer, val, timeout int32) int32
18 func sys_umtx_wakeup(addr unsafe.Pointer, val int32) int32
20 const stackSystem = 0