3 ms·
The Rust language doesn't know anything about locking, or even threads. The thread safety is built using Send/Sync traits, which libraries for threading and sy
by pornel 8y ago
The Rust language doesn't know anything about locking, or even threads.
The thread safety is built using Send/Sync traits, which libraries for threading and synchronization primitives, atomics, etc. implement accordingly.