summaryrefslogtreecommitdiff
path: root/rust/Makefile
diff options
context:
space:
mode:
authorWedson Almeida Filho <walmeida@microsoft.com>2023-08-28 13:48:03 +0300
committerTejun Heo <tj@kernel.org>2023-09-25 22:46:42 +0300
commit033941307471787ef8ee65bfc411dcbb6a81ea18 (patch)
tree636b532076a42e8d2ab47fc82aa9dfbbb7ad8a34 /rust/Makefile
parentd4d791d4aac041fde6eeba0a8f9201d728b52373 (diff)
downloadlinux-033941307471787ef8ee65bfc411dcbb6a81ea18.tar.xz
rust: workqueue: define built-in queues
We provide these methods because it lets us access these queues from Rust without using unsafe code. These methods return `&'static Queue`. References annotated with the 'static lifetime are used when the referent will stay alive forever. That is ok for these queues because they are global variables and cannot be destroyed. Signed-off-by: Wedson Almeida Filho <walmeida@microsoft.com> Co-developed-by: Alice Ryhl <aliceryhl@google.com> 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 'rust/Makefile')
0 files changed, 0 insertions, 0 deletions