#collection #lock-free #stack

lock-free-stack

Lock-free (atomic-based) Collection which internally represent data as a Stack, and exposes an interface allowing to add elements, get size, and remove all giving a reverse-iterator

2 releases

Uses old Rust 2015

0.1.1 Sep 9, 2016
0.1.0 Sep 8, 2016

#202 in #lock-free


Used in 2 crates

MIT license

4KB
94 lines

rust-lock-free-stack

Rust Lock Free (Atomic) Collection that essentially is a Stack, but limited to a relatively slow "add" operation, but fast "remove_all" that removes everything from the collections and returns a reverse-order iterator.

No runtime deps