1 unstable release

0.1.0 Nov 20, 2019

#534 in Memory management

Download history 1/week @ 2023-12-18 53/week @ 2023-12-25 14/week @ 2024-01-01 37/week @ 2024-01-08 7/week @ 2024-02-19 25/week @ 2024-02-26 21/week @ 2024-03-04 9/week @ 2024-03-11 10/week @ 2024-03-18

65 downloads per month
Used in async-fetcher

MIT/Apache

12KB
145 lines

remem

Thread-safe object reuse

Installation

With cargo add installed run:

$ 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.

Dependencies

~385KB