19 releases

0.2.11 Nov 11, 2023
0.2.9 Aug 5, 2023
0.2.8 Jul 16, 2023
0.2.2 Mar 19, 2023
0.0.3 Jul 20, 2021

#541 in Concurrency

Download history 87/week @ 2024-02-19 75/week @ 2024-02-26 38/week @ 2024-03-04 69/week @ 2024-03-11 53/week @ 2024-03-18 67/week @ 2024-03-25 159/week @ 2024-04-01 76/week @ 2024-04-08 78/week @ 2024-04-15 117/week @ 2024-04-22 80/week @ 2024-04-29 60/week @ 2024-05-06 58/week @ 2024-05-13 79/week @ 2024-05-20 183/week @ 2024-05-27 123/week @ 2024-06-03

446 downloads per month
Used in 10 crates (via concurrent-map)

MIT/Apache

16KB
316 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

~0.4–5.5MB
~11K SLoC