#no-std #thread #mutex

no-std yaar-lock

Fast, no_std synchronization primitives

6 releases

✓ Uses Rust 2018 edition

0.1.3-alpha.4 Jan 16, 2020
0.1.3-alpha.1 Jan 13, 2020
0.1.2 Jan 13, 2020
0.1.1 Jan 12, 2020
0.1.0 Jan 12, 2020

#144 in Concurrency

24 downloads per month

MIT/Apache

61KB
1K SLoC

yaar-lock Licence Documentation

This library currently provides Mutex implementations which are based on parking_lot making them small (only a usize large), fast, and configurable in #![no_std] environments.

Usage

Add this to your Cargo.toml:

[dependencies]
yaar_lock = "0.1"

To disable the default provided OS implements for #![no_std] provided by the os feature, set the default features manually:

[dependencies]
yaar_lock = { version = "0.1", default-features = false }

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

~145KB