remem

Thread-safe object reuse


Crates.io version Download docs.rs docs

API Docs | Contributing

Installation

With cargo add 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 and take a look at some of these issues:

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.