Tokio: shutdown, generation, driver tick, readiness components

2026-10-24来源 Rust Users ForumEnglish

Hi everyone! I am building a small async runtime for learning. Could someone please tell me about these components that are used in tokio for handling io (seems like they aren't using generation anymore but would like to know about it anyways).

| shutdown | generation | driver tick | readiness | |----------+------------+--------------+-----------| | 1 bit | 7 bits + 8 bits + 16 bits | 

Sadly I cannot find any document explaining these, so would really appreciate some concrete explanations. thank you.

1 post - 1 participant

Read full topic

原文:https://www.a8q9.cn/en/article/tokio-shutdown-generation-driver-tick-readiness-components-2e8dd6.html

相关文章