#lock-free #real-time #read-write #no-std

no-std simple-left-right

Lockfree, realtime safe and copy-free Synchronisation

2 unstable releases

0.2.0 Dec 27, 2024
0.1.0 Sep 24, 2024

#449 in Concurrency

MIT/Apache

24KB
402 lines

Simple left right

Simpler Version of left-right, which only allows one reader. Also allows real-time safe read operations and is designed for this use-case.


lib.rs:

Simpler version of the left-right from Jon Gjengset library.

Uses two copies of the value to allow doing small changes, while still allowing non-blocking reading. Writing can block, while reading doesn't.

No runtime deps