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
In questa pagina del sito puoi guardare il video online Code Walkthrough: Tokio - Runtime Initialization della durata di ore minuti seconda in buona qualità , che l'utente ha caricato jefftt 13 ottobre 2024, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 476 volte e gli è piaciuto 16 spettatori. Buona visione!