7 unstable releases (3 breaking)

0.3.0 Apr 18, 2024
0.2.2 Jan 17, 2024
0.1.1 Dec 15, 2023
0.0.5 Dec 14, 2023

#6 in #publish-subscribe

Download history 18/week @ 2024-01-17 3/week @ 2024-01-24 4/week @ 2024-01-31 1/week @ 2024-02-07 16/week @ 2024-02-14 12/week @ 2024-02-21 7/week @ 2024-02-28 2/week @ 2024-03-06 11/week @ 2024-03-13 7/week @ 2024-03-27 19/week @ 2024-04-03 150/week @ 2024-04-17 17/week @ 2024-04-24

167 downloads per month
Used in 4 crates

MIT/Apache

190KB
3K SLoC

Library of lock-free constructs.

From C++ Concurrency in Action - Anthony Williams

Obstruction-Free: If all other threads are paused, then any given thread will complete its operation in a bounded number of steps. Lock-Free: If multiple threads are operating on a data structure, then after a bounded number of steps one of them will complete its operation. Wait-Free: Every thread operating on a data structure will complete its operation in a bounded number of steps, even if other threads are also operating on the data structure.

Lock-Free guarantees that a misbehaving thread cannot block any other thread.

Dependencies

~41–305KB