Skip to content

CpuPool does not schedule futures fairly for execution #617

@carllerche

Description

@carllerche

CpuPool will immediately re-poll futures that were notified during poll. This means that futures that are under load (handling a queue) are unable to yield and will starve other futures.

https://github.com/alexcrichton/futures-rs/blob/master/src/task_impl/std/mod.rs#L452

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions