Hacker News new | past | comments | ask | show | jobs | submit login

Yes! There's nothing weird about rust's synchronization on shared state. If you have a mutex, you can do what you want just like in c++. The mpsc::channel thing that gpp might be talking about is just a nice to have tool for sending data between threads. No one is forcing its use.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: