10 releases (5 breaking)

0.5.0 Dec 23, 2024
0.4.1 Sep 28, 2024
0.3.0 Apr 18, 2024
0.2.2 Jan 17, 2024
0.0.5 Dec 14, 2023

#61 in #pub-sub

Download history 408/week @ 2024-11-14 181/week @ 2024-11-21 263/week @ 2024-11-28 294/week @ 2024-12-05 214/week @ 2024-12-12 513/week @ 2024-12-19 182/week @ 2024-12-26 415/week @ 2025-01-02 579/week @ 2025-01-09 515/week @ 2025-01-16 244/week @ 2025-01-23 302/week @ 2025-01-30 676/week @ 2025-02-06 342/week @ 2025-02-13 648/week @ 2025-02-20 452/week @ 2025-02-27

2,223 downloads per month
Used in 10 crates (4 directly)

MIT/Apache

255KB
4K 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

~245KB