github.com/geraldss/go/src@v0.0.0-20210511222824-ac7d0ebfc235/runtime/os_openbsd_syscall1.go (about)

     1  // Copyright 2011 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  // +build openbsd,!amd64
     6  
     7  package runtime
     8  
     9  //go:noescape
    10  func thrsleep(ident uintptr, clock_id int32, tsp *timespec, lock uintptr, abort *uint32) int32
    11  
    12  //go:noescape
    13  func thrwakeup(ident uintptr, n int32) int32
    14  
    15  func osyield()