Has anyone tried the new scheduler?
Does this still block forever?
package main
import "time"
func main() { go func(){ for {} }() time.Sleep(time.Millisecond) }
Does this still block forever?
package main
import "time"
func main() { go func(){ for {} }() time.Sleep(time.Millisecond) }
A busy loop is a sufficient way to emulate a heavy computation (e.g. applying effects to image files or compressing data) when it's not optimized out.