Source file src/runtime/os_openbsd_syscall1.go

     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  //go:build openbsd && mips64
     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()
    16  
    17  //go:nosplit
    18  func osyield_no_g() {
    19  	osyield()
    20  }
    21  

View as plain text