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

#2353 in Network programming

Download history 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 341/week @ 2025-01-04 647/week @ 2025-01-11 422/week @ 2025-01-18 207/week @ 2025-01-25 576/week @ 2025-02-01 403/week @ 2025-02-08

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