You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
seanmonstar opened this issue
Feb 4, 2022
· 1 comment
· Fixed by #4478
Assignees
Labels
A-tokioArea: The main tokio crateC-bugCategory: This is a bug.E-easyCall for participation: Experience needed to fix: Easy / not muchM-coopModule: tokio/coopM-ioModule: tokio/io
A-tokioArea: The main tokio crateC-bugCategory: This is a bug.E-easyCall for participation: Experience needed to fix: Easy / not muchM-coopModule: tokio/coopM-ioModule: tokio/io
The
tokio::io::duplex()
stream types do no participate in coop, so they can starve a task. This minimal example currently hangs:We should add coop checks in
poll_read
andpoll_write
, similar to what was done for #4291.The text was updated successfully, but these errors were encountered: