#real-time #priority #lock #linux #system #inheritance #futexes

priority-inheriting-lock

A priority-inheriting lock based on Linux futexes

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

Download history 7/week @ 2024-07-18 65/week @ 2024-07-25 13/week @ 2024-08-01 8/week @ 2024-08-08 7/week @ 2024-09-19 5/week @ 2024-09-26

497 downloads per month

MIT/Apache

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

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