Amanieu/parking_lot
Compact and efficient synchronization primitives for Rust. Also provides an API for creating custom synchronization primitives. observed · 2026-08-28
Health v2 · maintenance only
82/100
- Activity 99
- Release rhythm 50
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 0
- age_days: 3764
- days_rel: 334
- days_push: 10
- n_releases_24m: 6
Adoption not part of the score
3400 stars · 276 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A Rust library providing compact, faster implementations of Mutex, RwLock, Condvar, Once, and ReentrantMutex compared to the standard library, plus a low-level API for building custom synchronization primitives. It achieves smaller memory footprints, inline fast paths, adaptive spinning, and fair locking policies.
Use cases
- replace std::sync::Mutex for faster uncontended and contended locking
- reduce memory footprint of many fine-grained locks
- avoid reader/writer starvation with a fair RwLock
- get Condvar without spurious wakeups
- build custom synchronization primitives on a low-level parking API
- support Condvar/RwLock/Once on Windows XP
When to choose
- your Rust application is bottlenecked on std synchronization primitives
- you need many small locks to increase parallelism
- you need guaranteed-fair RwLock or spurious-wakeup-free Condvar semantics
When to avoid
- your workload is not concurrency-sensitive and std primitives suffice
- you want to minimize external dependencies in a small project
Facets
library · maturity stable
concurrency developer-tools performance rust cross-platform mutex rwlock condvar synchronization-primitives lock-api
2 sources
- readme: https://github.com/Amanieu/parking_lot · fetched 2026-08-28 · 010ce38ecfca
- registry_crates: https://crates.io/api/v1/crates/parking_lot · fetched 2026-08-29 · d92aac34617b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Amanieu/parking_lot | main | 82 |
For agents
markdown · JSON · MCP: product_card(name="Amanieu/parking_lot")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem