rcurs

Crates.iorcurs
lib.rsrcurs
version0.1.0
sourcesrc
created_at2024-01-06 17:04:32.583055
updated_at2024-01-06 17:04:32.583055
descriptionAn oxidized RCU implementation
homepage
repositoryhttps://github.com/threadexio/rcurs
max_upload_size
id1091076
size18,928
1337 (threadexio)

documentation

README

rcurs

A simple RCU with an oxidized interface. Read more at the docs.

The crate supports running both with or without the std library but has a hard dependency on alloc. If your environment allows, you should try to keep the std feature enabled as that contains typically more efficient implementations of blocking primitives.

Without the std feature, the only way to block is to spin in place using whatever optimization core::hint::spin_loop() can provide. But with the standard library, blocking is done using Condvars. Condvars call out to the kernel for blocking. The kernel can then choose what is best, spin itself, or usually give control back to the scheduler to run other processes.

Features

  • std: Enable use of primitives in the standard library
Commit count: 0

cargo fmt