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
Auf dieser Seite können Sie das Online-Video Code Walkthrough: Tokio - Runtime Initialization mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer jefftt 13 Oktober 2024 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 476 Mal angesehen und es wurde von 16 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!