Decision Workspace
mcslock vs clhlock vs spinning
Side-by-side comparison of Rust crates
47
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.
55
spinning
growingv0.1.1
Mutexes and SIX locks implemented by spinning
Core Metrics
| mcslock | clhlock | spinning | |
|---|---|---|---|
| Health Score | 47 | 40 | 55 |
| Total Downloads | 8.1K | 3.8K | 2.2M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 10 | 0 | 39 |
| Releases | 8 | 4 | 6 |
| Last Updated | 146d ago | 697d ago | 15d ago |
| Age | 2y 10m | 2y 1m | 6y 3m |
Health Breakdown
mcslock
Maintenance
9
Quality
11
Community
9
Popularity
5
Documentation
13
clhlock
Maintenance
4
Quality
11
Community
6
Popularity
4
Documentation
15
spinning
Maintenance
14
Quality
11
Community
10
Popularity
8
Documentation
12
Technical Details
| mcslock | clhlock | spinning | |
|---|---|---|---|
| Version | 0.4.2 | 0.2.2 | 0.1.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 2 | 1 | 1 |
| Crate Size | 47KB | 31KB | 13KB |
| Features | 4 | 1 | 2 |
| Yanked % | 62.5% | 25.0% | 83.3% |
| Edition | 2021 | 2021 | 2018 |
| MSRV | — | 1.65.0 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •spinning 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.