Planet of the Crabs
🦀 fearless rust


Exploring lock-free Rust 2: Atomics

Posted on by rust – More Stina Blog!

The previous article showed a mutex-based implementation of the LazyTransform value container. However, the exercise was explicit about implementing a “lock-free” container. What does that mean, exactly? Limitations of locks The interaction between LazyTransform methods was carefully designed to prevent deadlock, but in a busy system one could expect significant contention for the source mutex … Continue reading Exploring lock-free Rust 2: Atomics →