8 releases (1 stable)
1.0.0 | Jun 12, 2024 |
---|---|
0.3.0 | Nov 26, 2023 |
0.2.3 | Jun 9, 2023 |
0.2.2 | Nov 12, 2022 |
0.1.1 | Jun 19, 2022 |
#288 in Unix APIs
497 downloads per month
10KB
97 lines
Priority-Inheriting Lock for Rust
A priority-inheriting lock implementation based on Linux futexes.
It uses @m-ou-se's linux-futex
crate to implement @Amanieu's lock_api
.
In general, you should consider using the lock implementations provided by std
or parking_lot
, unless your application is intended to run on a real-time system where priority inversions must be avoided.
Minimum Rust version
The current minimum supported Rust version (MSRV) is 1.69. The MSRV will not be changed in the future without bumping the major or minor version.
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Dependencies
~230KB