10 releases
0.2.2 | Mar 19, 2023 |
---|---|
0.2.1 | Nov 16, 2022 |
0.1.40 |
|
0.0.5 | May 17, 2022 |
0.0.3 | Jul 20, 2021 |
#208 in Concurrency
126 downloads per month
Used in 2 crates
(via concurrent-map)
17KB
220 lines
ebr
a simple epoch-based reclamation (EBR) library with low cacheline ping-pong.
use ebr::Ebr;
let ebr: Ebr<Box<u64>> = Ebr::default();
let mut guard = ebr.pin();
guard.defer_drop(Box::new(1));
lib.rs
:
Simple, CPU cache-friendly epoch-based reclamation (EBR).
use ebr::Ebr;
let ebr: Ebr<Box<u64>> = Ebr::default();
let mut guard = ebr.pin();
guard.defer_drop(Box::new(1));
Dependencies
~16KB