3 ms·
That's what I ended up doing, Arc<Mutex<...>> for sharing stuff between threads, works really well.
by ThePhysicist 4y ago
That's what I ended up doing, Arc<Mutex<...>> for sharing stuff between threads, works really well.
- drogus 4y agoI have recently written a blog post about `Arc` and `Mutex` if you want to get an in-depth view on using them: https://itsallaboutthebit.com/arc-mutex/ https://itsallaboutthebit.com/arc-mutex/