linux-stable/rust/kernel/sync
Alice Ryhl d701e061cb rust: sync: reword the Arc safety comment for Sync
The safety comment on `impl Sync for Arc` references the Send safety
comment. This commit avoids that in case the two comments drift apart in
the future.

Suggested-by: Andreas Hindborg <a.hindborg@samsung.com>
Signed-off-by: Alice Ryhl <aliceryhl@google.com>
Reviewed-by: Andreas Hindborg <a.hindborg@samsung.com>
Reviewed-by: Boqun Feng <boqun.feng@gmail.com>
Reviewed-by: Martin Rodriguez Reboredo <yakoyoku@gmail.com>
Reviewed-by: Benno Lossin <benno.lossin@proton.me>
Link: https://lore.kernel.org/r/20230531145939.3714886-3-aliceryhl@google.com
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2023-05-31 18:53:10 +02:00
..
arc rust: sync: arc: Implement Arc<dyn Any + Send + Sync>::downcast() 2023-04-10 23:55:43 +02:00
lock rust: lock: add Guard::do_unlocked 2023-04-22 01:46:30 +02:00
arc.rs rust: sync: reword the Arc safety comment for Sync 2023-05-31 18:53:10 +02:00
condvar.rs rust: sync: introduce CondVar 2023-04-22 01:46:45 +02:00
lock.rs rust: sync: introduce CondVar 2023-04-22 01:46:45 +02:00
locked_by.rs rust: sync: introduce LockedBy 2023-04-22 00:20:00 +02:00