Decision Workspace
mcslock vs clhlock vs bilock
Side-by-side comparison of Rust crates
53
mcslock
growingv0.4.2
An implementation of Mellor-Crummey and Scott contention-free lock for mutual exclusion, referred to as MCS lock.
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.
46
bilock
experimentalv0.1.2
A minimal spin-lock based two-handle `Arc<Mutex<T>>` replacement
Core Metrics
| mcslock | clhlock | bilock | |
|---|---|---|---|
| Health Score | 53 | 40 | 46 |
| Total Downloads | 8.0K | 3.7K | 339 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 10 | 0 | 1 |
| Releases | 8 | 4 | 3 |
| Last Updated | 58d ago | 609d ago | 82d ago |
| Age | 2y 7m | 1y 10m | 2m |
Health Breakdown
mcslock
Maintenance
15
Quality
11
Community
9
Popularity
5
Documentation
13
clhlock
Maintenance
4
Quality
11
Community
6
Popularity
4
Documentation
15
bilock
Maintenance
9
Quality
15
Community
7
Popularity
3
Documentation
12
Technical Details
| mcslock | clhlock | bilock | |
|---|---|---|---|
| Version | 0.4.2 | 0.2.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 | 2 | 1 | 0 |
| Crate Size | 47KB | 31KB | 15KB |
| Features | 4 | 1 | 0 |
| Yanked % | 62.5% | 25.0% | 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 53/100, but none of the options score above 80.
- •⚠ clhlock has not been updated in over a year.