blob: d32894ba6a38b29d70afd6ad4f777237c2aaf684 [file] [log] [blame]
Joel Sing928bda42021-01-16 04:38:50 +11001// 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
Joel Sing326a7922021-05-10 03:16:28 +10005//go:build openbsd && mips64
Joel Sing928bda42021-01-16 04:38:50 +11006
7package runtime
8
9//go:noescape
10func thrsleep(ident uintptr, clock_id int32, tsp *timespec, lock uintptr, abort *uint32) int32
11
12//go:noescape
13func thrwakeup(ident uintptr, n int32) int32
14
15func osyield()
Russ Cox0d94f982021-01-30 07:07:42 -050016
17//go:nosplit
18func osyield_no_g() {
19 osyield()
20}