Go 1.14 lets the scheduler interrupt busy loops
engineeringgoruntimeconcurrencyGo 1.14 removes a scheduling dependency on function calls. Its runtime checks where a goroutine stopped before injecting a call that saves registers and enters the scheduler.