diff options
author | Wedson Almeida Filho <[email protected]> | 2022-12-28 06:03:40 +0000 |
---|---|---|
committer | Miguel Ojeda <[email protected]> | 2023-01-16 22:20:03 +0100 |
commit | 9dc04365500340e6d60a996333d562af747337b1 (patch) | |
tree | 01ac23b5d7c496652e5252e24edafee4fc0550f8 /scripts/gdb/linux/tasks.py | |
parent | cb7d9defdafba4c1d463a09c9b09876066f81ee4 (diff) |
rust: sync: add `Arc` for ref-counted allocations
This is a basic implementation of `Arc` backed by C's `refcount_t`. It
allows Rust code to idiomatically allocate memory that is ref-counted.
Cc: Will Deacon <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Boqun Feng <[email protected]>
Cc: Mark Rutland <[email protected]>
Signed-off-by: Wedson Almeida Filho <[email protected]>
Reviewed-by: Alice Ryhl <[email protected]>
Reviewed-by: Gary Guo <[email protected]>
Reviewed-by: Vincenzo Palazzo <[email protected]>
Acked-by: Boqun Feng <[email protected]>
Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions