Re: [go-nuts] What is Spinning thread doing in go scheduler

2018-05-24 Thread Ian Lance Taylor
On Tue, May 22, 2018 at 9:26 AM, Ming Hu wrote: > > I am reading the design of go scheduler, and don't quite understand this in > "Scalable Go Scheduler Design Doc" > > https://docs.google.com/document/d/1TTj4T2JO42uD5ID9e89oa0sLKhJYD0Y_kqxDv3I3XMw/edit# > >> Spinning is mostly passive (yield to O

[go-nuts] What is Spinning thread doing in go scheduler

2018-05-22 Thread Ming Hu
Hi I am reading the design of go scheduler, and don't quite understand this in "Scalable Go Scheduler Design Doc" https://docs.google.com/document/d/1TTj4T2JO42uD5ID9e89oa0sLKhJYD0Y_kqxDv3I3XMw/edit# Spinning is mostly passive (yield to OS, sched_yield()), but may include a > little bit of act