Joel Sing | 928bda4 | 2021-01-16 04:38:50 +1100 | [diff] [blame] | 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 | |
Joel Sing | 326a792 | 2021-05-10 03:16:28 +1000 | [diff] [blame] | 5 | //go:build openbsd && mips64 |
Joel Sing | 928bda4 | 2021-01-16 04:38:50 +1100 | [diff] [blame] | 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() |
Russ Cox | 0d94f98 | 2021-01-30 07:07:42 -0500 | [diff] [blame] | 16 | |
| 17 | //go:nosplit |
| 18 | func osyield_no_g() { |
| 19 | osyield() |
| 20 | } |