An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

        

# spinning-rs
[![Build Status](https://travis-ci.org/4lDO2/spinning-rs.svg?branch=master)](https://travis-ci.org/4lDO2/spinning-rs)
[![Crates.io](https://img.shields.io/crates/v/spinning.svg)](https://crates.io/crates/spinning)
[![Documentation](https://docs.rs/spinning/badge.svg)](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.