|
|
Subscribe / Log in / New account

Locking

Locking

Posted Sep 24, 2024 22:34 UTC (Tue) by NYKevin (subscriber, #129325)
In reply to: Locking by NYKevin
Parent article: Resources for learning Rust for kernel development

So I looked around a bit more and there are at least two crates which already do something resembling the above:

https://docs.rs/ordered-locks/latest/ordered_locks/
https://docs.rs/lock_ordering/latest/lock_ordering/

So yes, this is a thing you can do. Whether it is entirely feasible for very large and complicated lock hierarchies is still unclear to me.


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds