Learning how Tokio works by digging through the source code.
Tokio source: https://github.com/tokio-rs/tokio/tree/512...
Referenced blog post: https://tokio.rs/blog/2019-10-scheduler
00:00 Intro
01:15 tokio::main
03:26 runtime::Builder::build
06:00 blocking_pool
07:07 MultiThread::new
07:50 queue::local
09:30 Aside - non-null optimization
12:25 queue::local cont.
15:07 worker::create cont.
19:04 Spawning thread pool
20:21 tokio_thread_local - See corrections in comments!
22:00 Spawning thread pool cont.
25:00 Outro
En esta página del sitio puede ver el video en línea Code Walkthrough: Tokio - Runtime Initialization de Duración hora minuto segunda en buena calidad , que subió el usuario jefftt 13 octubre 2024, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 476 veces y le gustó 16 a los espectadores. Disfruta viendo!