diff options
author | Alice Ryhl <aliceryhl@google.com> | 2023-05-31 14:59:39 +0000 |
---|---|---|
committer | Miguel Ojeda <ojeda@kernel.org> | 2023-05-31 18:53:10 +0200 |
commit | d09a61024f6b78c6a08892fc916cdafd87b50365 (patch) | |
tree | 88f9f508c03bdacbaeffa92a9a31248b8e4e91a2 /LICENSES | |
parent | be7724cdbbca22e0cbde1edf30941a7aa4378ded (diff) | |
download | linux-stable-d09a61024f6b78c6a08892fc916cdafd87b50365.tar.gz linux-stable-d09a61024f6b78c6a08892fc916cdafd87b50365.tar.bz2 linux-stable-d09a61024f6b78c6a08892fc916cdafd87b50365.zip |
rust: task: add `Send` marker to `Task`
When a type also implements `Sync`, the meaning of `Send` is just "this
type may be accessed mutably from threads other than the one it is
created on". That's ok for this type.
Signed-off-by: Alice Ryhl <aliceryhl@google.com>
Reviewed-by: Andreas Hindborg <a.hindborg@samsung.com>
Reviewed-by: Gary Guo <gary@garyguo.net>
Reviewed-by: Martin Rodriguez Reboredo <yakoyoku@gmail.com>
Reviewed-by: Benno Lossin <benno.lossin@proton.me>
Link: https://lore.kernel.org/r/20230531145939.3714886-5-aliceryhl@google.com
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'LICENSES')
0 files changed, 0 insertions, 0 deletions