Decision Workspace
clhlock vs mcslock vs spinning
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.
47
mcslock
growingv0.4.2
An implementation of Mellor-Crummey and Scott contention-free lock for mutual exclusion, referred to as MCS lock.
55
spinning
growingv0.1.1
Mutexes and SIX locks implemented by spinning
Core Metrics
| clhlock | mcslock | spinning | |
|---|---|---|---|
| Health Score | 40 | 47 | 55 |
| Total Downloads | 3.8K | 8.1K | 2.2M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 10 | 39 |
| Releases | 4 | 8 | 6 |
| Last Updated | 697d ago | 146d ago | 15d ago |
| Age | 2y 1m | 2y 10m | 6y 3m |
Health Breakdown
clhlock
Maintenance
4
Quality
11
Community
6
Popularity
4
Documentation
15
mcslock
Maintenance
9
Quality
11
Community
9
Popularity
5
Documentation
13
spinning
Maintenance
14
Quality
11
Community
10
Popularity
8
Documentation
12
Technical Details
| clhlock | mcslock | spinning | |
|---|---|---|---|
| Version | 0.2.2 | 0.4.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 | 1 | 2 | 1 |
| Crate Size | 31KB | 47KB | 13KB |
| Features | 1 | 4 | 2 |
| Yanked % | 25.0% | 62.5% | 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.