https://github.com/4ldo2/spinning-rs
A no_std mutex and SIX rwlock implementation based on spinlocks and lock_api
https://github.com/4ldo2/spinning-rs
intent-locks lock-api mutex no-std rwlock six-locks spinlock
Last synced: 3 months ago
JSON representation
A no_std mutex and SIX rwlock implementation based on spinlocks and lock_api
- Host: GitHub
- URL: https://github.com/4ldo2/spinning-rs
- Owner: 4lDO2
- License: apache-2.0
- Created: 2020-06-18T15:01:53.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-01T13:45:39.000Z (over 4 years ago)
- Last Synced: 2024-04-24T22:21:48.419Z (about 1 year ago)
- Topics: intent-locks, lock-api, mutex, no-std, rwlock, six-locks, spinlock
- Language: Rust
- Homepage:
- Size: 44.9 KB
- Stars: 8
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# spinning-rs
[](https://travis-ci.org/4lDO2/spinning-rs)
[](https://crates.io/crates/spinning)
[](https://docs.rs/spinning/)A `#![no_std]` crate for spinlocks, intended to function similarly to
[`spin`](https://crates.io/crates/spin), but with enhanced features such as SIX
(shared-intent-exclusive) rwlocks, and
[`lock_api`](https://crates.io/crates/lock_api).## License
Licensed under either of
* Apache License, Version 2.0
([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
* MIT license
([LICENSE-MIT](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.