Re: Thread Safety ?
You have this same freedom in Rust. You can use Mutex, RwLock, MPSC channels, atomics etc. The compiler just prevents you from NOT using these synchronisation primitives when multithreading.
You have this same freedom in Rust. You can use Mutex, RwLock, MPSC channels, atomics etc. The compiler just prevents you from NOT using these synchronisation primitives when multithreading.