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

no-std simple-left-right

Lockfree, realtime safe and copy-free Synchronisation

3 unstable releases

new 0.2.1 Mar 21, 2025
0.2.0 Dec 27, 2024
0.1.0 Sep 24, 2024

#497 in Concurrency

Download history 5/week @ 2024-12-08 111/week @ 2024-12-22 8/week @ 2024-12-29 3/week @ 2025-01-05 1/week @ 2025-01-12 5/week @ 2025-02-09 6/week @ 2025-02-16 86/week @ 2025-03-16

86 downloads per month

MIT/Apache

60KB
392 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