1 unstable release

0.1.0 Jan 6, 2024

#701 in Concurrency

MIT license

17KB
337 lines

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

No runtime deps

Features