ITADN

fix(scheduler): push back the task when it is still ready

#362Pull Requestethe 创建于 2025-08-12已合并
E
ethecommented
#322 should be fixed so that common `yield_now` implementations (such as futures_lite) work correctly. In the current implementation, the harness checks if the polled task is ready and, if so, pushes it to the front of the queue. Once pushed to the front, the executor immediately pop up the task again, which is unexpected behavior. Pushing back the task would be reasonable.
合并状态:已合并 合并于 2025-08-14 关闭于 2025-08-14 0 条评论