Media Summary: So you need to share an object between threads, what do you do? Wrap it in an ArcMutex pointer and call it a day right? Let's take ... In this short I talk about the differences between goland and Do not communicate by sharing memory, instead, share memory by communicating.
Rust Concurrency Is Easy Coding Rustlang - Detailed Analysis & Overview
So you need to share an object between threads, what do you do? Wrap it in an ArcMutex pointer and call it a day right? Let's take ... In this short I talk about the differences between goland and Do not communicate by sharing memory, instead, share memory by communicating. Stopping your tokio tasks like this might leave your program in a bad state. Instead, try Tokio's cancellation tokens. Now you can ... ... little bit unhinged and decided to poke fun at