os_openbsd.go 731 B

123456789101112131415161718
  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. package runtime
  5. import "unsafe"
  6. func setitimer(mode int32, new, old unsafe.Pointer)
  7. func sigaction(sig int32, new, old unsafe.Pointer)
  8. func sigaltstack(new, old unsafe.Pointer)
  9. func sigprocmask(mode int32, new uint32) uint32
  10. func sysctl(mib *uint32, miblen uint32, out *byte, size *uintptr, dst *byte, ndst uintptr) int32
  11. func raise(sig int32)
  12. func tfork(param unsafe.Pointer, psize uintptr, mm, gg, fn unsafe.Pointer) int32
  13. func thrsleep(ident unsafe.Pointer, clock_id int32, tsp, lock, abort unsafe.Pointer) int32
  14. func thrwakeup(ident unsafe.Pointer, n int32) int32