github.com/comwrg/go/src@v0.0.0-20220319063731-c238d0440370/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 //go:build openbsd && mips64 6 // +build openbsd,mips64 7 8 package runtime 9 10 //go:noescape 11 func thrsleep(ident uintptr, clock_id int32, tsp *timespec, lock uintptr, abort *uint32) int32 12 13 //go:noescape 14 func thrwakeup(ident uintptr, n int32) int32 15 16 func osyield() 17 18 //go:nosplit 19 func osyield_no_g() { 20 osyield() 21 }