How is reactor shared across threads when running tokio multithreaded?

⚓ Rust    📅 2025-08-02    👤 surdeus    👁️ 12      

surdeus

Warning

This post was published 122 days ago. The information described in this article may have changed.

Just the title. I am currently building a very basic async runtime to learn the internals and am using a thread local for storing and accessing the reactor. If there are multiple threads, how is shared access provided to the individual workers to a single reactor? Or are there multiple reactors?

2 posts - 2 participants

Read full topic

🏷️ Rust_feed