diff options
author | Wedson Almeida Filho <[email protected]> | 2023-04-11 02:45:32 -0300 |
---|---|---|
committer | Miguel Ojeda <[email protected]> | 2023-04-22 00:19:42 +0200 |
commit | 76d4bd591e1101df69c44c819041e374c63f1194 (patch) | |
tree | ce071e007936453452d1d69f8d6a711a1003fdeb /lib/crypto/mpi | |
parent | 6ea5aa08857a81be7114b3c21d6aa6db0bc95f99 (diff) |
rust: sync: introduce `Lock` and `Guard`
They are generic Rust implementations of a lock and a lock guard that
contain code that is common to all locks. Different backends will be
introduced in subsequent commits.
Reviewed-by: Martin Rodriguez Reboredo <[email protected]>
Suggested-by: Gary Guo <[email protected]>
Signed-off-by: Wedson Almeida Filho <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[ Fixed typo. ]
Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'lib/crypto/mpi')
0 files changed, 0 insertions, 0 deletions