Decision Workspace
clhlock vs mcslock vs bilock
Side-by-side comparison of Rust crates
40
clhlock
growingv0.2.2
An implementation of Craig and, indenpendently, Magnussen, Landin, and Hagersten queue lock for mutual exclusion, referred to as CLH lock.
55
mcslock
growingv0.4.2
An implementation of Mellor-Crummey and Scott contention-free lock for mutual exclusion, referred to as MCS lock.
49
bilock
experimentalv0.1.2
A minimal spin-lock based two-handle `Arc<Mutex<T>>` replacement
Core Metrics
| clhlock | mcslock | bilock | |
|---|---|---|---|
| Health Score | 40 | 55 | 49 |
| Total Downloads | 3.7K | 8.0K | 160 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 10 | 1 |
| Releases | 4 | 8 | 3 |
| Last Updated | 560d ago | 9d ago | 33d ago |
| Age | 1y 9m | 2y 5m | 1m |
Health Breakdown
clhlock
Maintenance
4
Quality
11
Community
6
Popularity
4
Documentation
15
mcslock
Maintenance
17
Quality
11
Community
9
Popularity
5
Documentation
13
bilock
Maintenance
12
Quality
15
Community
7
Popularity
3
Documentation
12
Technical Details
| clhlock | mcslock | bilock | |
|---|---|---|---|
| Version | 0.2.2 | 0.4.2 | 0.1.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | ISC OR MIT OR Apache-2.0 |
| Dependencies | 1 | 2 | 0 |
| Crate Size | 31KB | 47KB | 15KB |
| Features | 1 | 4 | 0 |
| Yanked % | 25.0% | 62.5% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | 1.65.0 | — | 1.88.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •mcslock leads with a health score of 55/100, but none of the options score above 80.
- •⚠ clhlock has not been updated in over a year.