GO's continuation stealing algorithm - any materials?

(J Ohn Stuart) #1

I want to find out more about GO’s continuation stealing algorithm = the way GO schedules tasks on multiple processors.

Any materials you have encountered ? So far I only saw this in “Concurrency in Go” by Katherine Cox, chapter 6, and while she does a good job explaining I would like to see more details on this topic.

(Onezino Moreira) #2

https://github.com/golang/go/wiki/LearnConcurrency it’s a good space to take a look.

(Chris Hines) #3

There is a fairly readable comment block in the Go source that might be helpful: https://github.com/golang/go/blob/master/src/runtime/proc.go#L16