#ebr #ping-pong

ebr

simple epoch-based reclamation with low cacheline ping-pong

4 releases

0.0.3 Jul 20, 2021
0.0.2 Jul 20, 2021
0.0.1 Jul 20, 2021
0.0.0 Jul 20, 2021

#201 in Concurrency

MIT/Apache

10KB
214 lines

ebr

a simple epoch-based reclamation (EBR) library with low cacheline ping-pong.

use ebr::Ebr;

let mut 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 mut ebr: Ebr<Box<u64>> = Ebr::default();

let mut guard = ebr.pin();

guard.defer_drop(Box::new(1));

No runtime deps