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

#66 in #pub-sub

Download history 167/week @ 2024-11-24 358/week @ 2024-12-01 237/week @ 2024-12-08 354/week @ 2024-12-15 340/week @ 2024-12-22 343/week @ 2024-12-29 382/week @ 2025-01-05 614/week @ 2025-01-12 427/week @ 2025-01-19 193/week @ 2025-01-26 586/week @ 2025-02-02 418/week @ 2025-02-09 522/week @ 2025-02-16 540/week @ 2025-02-23 477/week @ 2025-03-02 501/week @ 2025-03-09

2,059 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