remem

Thread-safe object reuse

Crates.io version Download docs.rs docs

API Docs | Contributing

## Installation With [cargo add](https://github.com/killercup/cargo-edit) installed run: ```sh $ cargo add remem ``` ## Safety This crate uses two instances of `unsafe` to implement a lock-free Treiber stack. This implementation was copied from the reference implementation in `crossbeam`. ## Contributing Want to join us? Check out our ["Contributing" guide][contributing] and take a look at some of these issues: - [Issues labeled "good first issue"][good-first-issue] - [Issues labeled "help wanted"][help-wanted] [contributing]: https://github.com/rylev/remem/blob/master.github/CONTRIBUTING.md [good-first-issue]: https://github.com/rylev/remem/labels/good%20first%20issue [help-wanted]: https://github.com/rylev/remem/labels/help%20wanted ## License Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.