#lock-free #real-time #read-write #data-structures

simple-left-right

Lockfree, realtime safe and copy-free Synchronisation

1 unstable release

0.1.0 Sep 24, 2024

#480 in Concurrency

MIT/Apache

18KB
300 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.

Dependencies

~0–24MB
~334K SLoC