```go
package main
import (
"fmt"
"runtime"
"time"
)
func main() {
go func() {
for i := 0; i < 5; i++ {
if i == 3 {
runtime.Gosched()
}
fmt.Println("g1", i)
}
}()
go func() {
fmt.Println("g2")
}()
time.Sleep(1 * time.Second)
}
```
各位大神,请问这个执行结果是什么呀?
更多评论