mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-03-20 14:31:15 +02:00
Copy-editing on the shared state page
The access is to the specific `T` value found in the `Mutex<T>`.
This commit is contained in:
parent
94933b43f1
commit
cc0c02aa14
@ -5,7 +5,7 @@ primarily done via two types:
|
||||
|
||||
* [`Arc<T>`][1], atomic reference counted `T`: handled sharing between threads and
|
||||
takes care to deallocate `T` when the last thread exits,
|
||||
* [`Mutex<T>`][2]: ensures mutual exclusion access for some `T` value.
|
||||
* [`Mutex<T>`][2]: ensures mutual exclusion access to the `T` value.
|
||||
|
||||
[1]: https://doc.rust-lang.org/std/sync/struct.Arc.html
|
||||
[2]: https://doc.rust-lang.org/std/sync/struct.Mutex.html
|
||||
|
Loading…
x
Reference in New Issue
Block a user