Sign in
fuchsia
/
third_party
/
github.com
/
moby
/
moby
/
05e3f2f62f27fbf82876e69daa34328ec253b891
/
.
/
pkg
/
ioutils
/
scheduler_gccgo.go
blob: c11d02b9476b10c0e0b9051045217419c81cd158 [
file
] [
log
] [
blame
]
// +build gccgo
package ioutils
import (
"runtime"
)
func callSchedulerIfNecessary() {
//allow or force Go scheduler to switch context, without explicitly
//forcing this will make it hang when using gccgo implementation
runtime.Gosched()
}