IO primitives should hook into coop #6249
Labels
A-tokio
Area: The main tokio crate
E-help-wanted
Call for participation: Help is requested to fix this issue.
M-coop
Module: tokio/coop
M-io
Module: tokio/io
The IO primitives
repeat
andsink
will always succeed without checking the coop budget. (There may be others.) They should be changed to yield if the coop budget is consumed.The text was updated successfully, but these errors were encountered: