rcu-clean

Crates.iorcu-clean
lib.rsrcu-clean
version0.1.8
sourcesrc
created_at2018-12-28 18:47:09.908674
updated_at2023-02-08 01:01:05.191285
descriptionSmart pointers using RCU with Deref support.
homepage
repositoryhttps://github.com/droundy/rcu-clean
max_upload_size
id104241
size37,495
David Roundy (droundy)

documentation

README

rcu-clean   Latest version Documentation Build Status

This crate provides easy to use smart-pointers with interior mutability. These smart pointers use RCU to allow simultaneous reads and updates. They implement Deref for reads, which makes them both convenient (ergonomic) and fast on reads, particularly for the Arc version that would otherwise require taking a Mutex or RwLock in order to read the pointer. The downside is that old versions of the data are only freed when you have called the clean method on each copy of the pointer.

Commit count: 52

cargo fmt