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

#277 in Concurrency

Download history 244/week @ 2024-09-21 205/week @ 2024-09-28 8517/week @ 2024-10-05 35740/week @ 2024-10-12 12020/week @ 2024-10-19 10150/week @ 2024-10-26 9371/week @ 2024-11-02 10899/week @ 2024-11-09 12218/week @ 2024-11-16 6345/week @ 2024-11-23 10495/week @ 2024-11-30 8879/week @ 2024-12-07 9497/week @ 2024-12-14 2448/week @ 2024-12-21 4076/week @ 2024-12-28 7920/week @ 2025-01-04

25,319 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