github.com/reiver/go@v0.0.0-20150109200633-1d0c7792f172/src/runtime/os_openbsd.go (about)

     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  //go:noescape
     8  func setitimer(mode int32, new, old *itimerval)
     9  
    10  //go:noescape
    11  func sigaction(sig int32, new, old *sigactiont)
    12  
    13  //go:noescape
    14  func sigaltstack(new, old *stackt)
    15  
    16  //go:noescape
    17  func sigprocmask(mode int32, new uint32) uint32
    18  
    19  //go:noescape
    20  func sysctl(mib *uint32, miblen uint32, out *byte, size *uintptr, dst *byte, ndst uintptr) int32
    21  
    22  func raise(sig int32)
    23  
    24  //go:noescape
    25  func tfork(param *tforkt, psize uintptr, mm *m, gg *g, fn uintptr) int32
    26  
    27  //go:noescape
    28  func thrsleep(ident uintptr, clock_id int32, tsp *timespec, lock uintptr, abort *int32) int32
    29  
    30  //go:noescape
    31  func thrwakeup(ident uintptr, n int32) int32
    32  
    33  func osyield()