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

#2317 in Network programming

Download history 416/week @ 2024-09-25 107/week @ 2024-10-02 95/week @ 2024-10-09 78/week @ 2024-10-16 122/week @ 2024-10-23 90/week @ 2024-10-30 115/week @ 2024-11-06 260/week @ 2024-11-13 341/week @ 2024-11-20 217/week @ 2024-11-27 328/week @ 2024-12-04 189/week @ 2024-12-11 531/week @ 2024-12-18 177/week @ 2024-12-25 415/week @ 2025-01-01 523/week @ 2025-01-08

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