What scheduling algorithm does tokio use?

I know that async rust relies on cooperative scheduling i.e. it is upto the task itself to yield control back to the runtime. I want to know how does the runtime itself schedule these tasks when there are multiple ones ready to be woken up

This blog post should be relevant.

2 Likes