diff options
author | Wedson Almeida Filho <[email protected]> | 2023-04-11 02:45:43 -0300 |
---|---|---|
committer | Miguel Ojeda <[email protected]> | 2023-04-22 00:20:00 +0200 |
commit | 7b1f55e3a984aaed0121f90f9f8580f18b7b561e (patch) | |
tree | 2963fe572363ca7b88310a2cf5ab014d2e8374e2 /scripts/gdb/linux/proc.py | |
parent | 8da7a2b7432e8f043f04515895687f72cdb3e0a8 (diff) |
rust: sync: introduce `LockedBy`
This allows us to have data protected by a lock despite not being
wrapped by it. Access is granted by providing evidence that the lock is
held by the caller.
Reviewed-by: Martin Rodriguez Reboredo <[email protected]>
Signed-off-by: Wedson Almeida Filho <[email protected]>
Reviewed-by: Benno Lossin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions