Files
visor/pkg/sync/goyield_go113_unsafe.go
2025-08-06 18:46:54 -07:00

20 lines
384 B
Go

// Copyright 2020 The gVisor Authors.
//
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd.
//go:build go1.13 && !go1.14
// +build go1.13,!go1.14
package sync
import (
"runtime"
)
func goyield() {
// goyield is not available until Go 1.14.
runtime.Gosched()
}