Decision Workspace
malthlock vs mcslock vs clhlock
Side-by-side comparison of Rust crates
40
malthlock
growingv0.0.0
An implementation of Dave Dice's scalable, concurrency restrictive, unfair lock for mutual exclusion, referred to as Malthusian Lock.
50
mcslock
growingv0.4.1
An implementation of Mellor-Crummey and Scott contention-free lock for mutual exclusion, referred to as MCS lock.
41
clhlock
growingv0.2.2
An implementation of Craig and, indenpendently, Magnussen, Landin, and Hagersten queue lock for mutual exclusion, referred to as CLH lock.
Core Metrics
| malthlock | mcslock | clhlock | |
|---|---|---|---|
| Health Score | 40 | 50 | 41 |
| Total Downloads | 1.2K | 7.9K | 3.7K |
| 30d Downloads | 3 | 55 | 6 |
| Dependents | 0 | 10 | 0 |
| Releases | 1 | 7 | 4 |
| Last Updated | 561d ago | 416d ago | 501d ago |
| Age | 1y 6m | 2y 3m | 1y 7m |
Health Breakdown
malthlock
Maintenance
1
Quality
16
Community
6
Popularity
4
Documentation
13
mcslock
Maintenance
10
Quality
11
Community
9
Popularity
5
Documentation
15
clhlock
Maintenance
5
Quality
11
Community
6
Popularity
4
Documentation
15
Technical Details
| malthlock | mcslock | clhlock | |
|---|---|---|---|
| Version | 0.0.0 | 0.4.1 | 0.2.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 0 | 2 | 1 |
| Crate Size | 1KB | 47KB | 31KB |
| Features | 0 | 4 | 1 |
| Yanked % | 0.0% | 71.4% | 25.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | 1.65.0 | 1.65.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •mcslock leads with a health score of 50/100, but none of the options score above 80.
- •⚠ malthlock, mcslock, clhlock have not been updated in over a year.