]> git.immae.eu Git - github/fretlink/terraform-provider-statuscake.git/blob - vendor/github.com/fsouza/go-dockerclient/external/github.com/docker/docker/pkg/ioutils/scheduler_gccgo.go
provider: Ensured Go 1.11 in TravisCI and README
[github/fretlink/terraform-provider-statuscake.git] / vendor / github.com / fsouza / go-dockerclient / external / github.com / docker / docker / pkg / ioutils / scheduler_gccgo.go
1 // +build gccgo
2
3 package ioutils
4
5 import (
6 "runtime"
7 )
8
9 func callSchedulerIfNecessary() {
10 //allow or force Go scheduler to switch context, without explicitly
11 //forcing this will make it hang when using gccgo implementation
12 runtime.Gosched()
13 }