diff options
author | Alice Ryhl <[email protected]> | 2023-08-28 10:48:05 +0000 |
---|---|---|
committer | Tejun Heo <[email protected]> | 2023-09-25 09:46:42 -1000 |
commit | 47f0dbe8fdc28e6e79505b640619e0cbccb91cef (patch) | |
tree | e5c09abac48525d12becd5b1b8b9350a24ab588f /tools/perf/util/trace-event-scripting.c | |
parent | 7324b88975c525a013ae0db747df97924ce80675 (diff) |
rust: workqueue: implement `WorkItemPointer` for pointer types
This implements the `WorkItemPointer` trait for the pointer types that
you are likely to use the workqueue with. The `Arc` type is for
reference counted objects, and the `Pin<Box<T>>` type is for objects
where the caller has exclusive ownership of the object.
Co-developed-by: Gary Guo <[email protected]>
Signed-off-by: Gary Guo <[email protected]>
Signed-off-by: Alice Ryhl <[email protected]>
Reviewed-by: Martin Rodriguez Reboredo <[email protected]>
Reviewed-by: "Andreas Hindborg (Samsung)" <[email protected]>
Reviewed-by: Benno Lossin <[email protected]>
Reviewed-by: Boqun Feng <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions