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

#2292 in Network programming

Download history 33/week @ 2024-09-21 455/week @ 2024-09-28 104/week @ 2024-10-05 68/week @ 2024-10-12 111/week @ 2024-10-19 105/week @ 2024-10-26 111/week @ 2024-11-02 201/week @ 2024-11-09 338/week @ 2024-11-16 162/week @ 2024-11-23 355/week @ 2024-11-30 250/week @ 2024-12-07 309/week @ 2024-12-14 375/week @ 2024-12-21 343/week @ 2024-12-28 313/week @ 2025-01-04

1,366 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