20 releases

0.2.13 Aug 29, 2024
0.2.11 Nov 11, 2023
0.2.8 Jul 16, 2023
0.2.2 Mar 19, 2023
0.0.3 Jul 20, 2021

#268 in Concurrency

Download history 232/week @ 2024-08-16 245/week @ 2024-08-23 260/week @ 2024-08-30 188/week @ 2024-09-06 243/week @ 2024-09-13 226/week @ 2024-09-20 171/week @ 2024-09-27 5585/week @ 2024-10-04 36626/week @ 2024-10-11 12062/week @ 2024-10-18 10602/week @ 2024-10-25 9396/week @ 2024-11-01 10703/week @ 2024-11-08 12018/week @ 2024-11-15 7898/week @ 2024-11-22 8961/week @ 2024-11-29

41,461 downloads per month
Used in 11 crates (via concurrent-map)

MIT/Apache

16KB
321 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–5MB
~11K SLoC