1 unstable release
0.1.0 | Nov 20, 2019 |
---|
#559 in Memory management
48 downloads per month
Used in 2 crates
(via async-fetcher)
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
~390KB