summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorAlice Ryhl <aliceryhl@google.com>2023-08-28 13:48:07 +0300
committerTejun Heo <tj@kernel.org>2023-09-25 22:46:42 +0300
commit15b286d1fd056b0366bc8d211ff2c4ce2449eacb (patch)
tree7fdf27b5adeffca0f1fd65d02dab33d72e762c4b /arch
parent115c95e9e14c482682080598907e6a18091fd0af (diff)
downloadlinux-15b286d1fd056b0366bc8d211ff2c4ce2449eacb.tar.xz
rust: workqueue: add examples
This adds two examples of how to use the workqueue. The first example shows how to use it when you only have one `work_struct` field, and the second example shows how to use it when you have multiple `work_struct` fields. Signed-off-by: Alice Ryhl <aliceryhl@google.com> Reviewed-by: Martin Rodriguez Reboredo <yakoyoku@gmail.com> Reviewed-by: Gary Guo <gary@garyguo.net> Reviewed-by: "Andreas Hindborg (Samsung)" <nmi@metaspace.dk> Reviewed-by: Benno Lossin <benno.lossin@proton.me> Reviewed-by: Boqun Feng <boqun.feng@gmail.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions