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

priority-inheriting-lock

A priority-inheriting lock based on Linux futexes

7 releases

0.3.0 Nov 26, 2023
0.2.3 Jun 9, 2023
0.2.2 Nov 12, 2022
0.2.1 Oct 24, 2022
0.1.1 Jun 19, 2022

#720 in Concurrency

Download history 27/week @ 2024-01-06 1/week @ 2024-01-13 4/week @ 2024-02-10 18/week @ 2024-02-17 426/week @ 2024-02-24 29/week @ 2024-03-02 34/week @ 2024-03-09 71/week @ 2024-03-16 14/week @ 2024-03-23 16/week @ 2024-03-30 20/week @ 2024-04-06 32/week @ 2024-04-13

112 downloads per month

MIT/Apache

9KB
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.65. 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

~235KB