https://github.com/murphsicles/parking_lot
https://github.com/murphsicles/parking_lot
Last synced: 22 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/murphsicles/parking_lot
- Owner: murphsicles
- License: other
- Created: 2026-05-15T19:36:30.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2026-05-15T23:12:55.000Z (2 months ago)
- Last Synced: 2026-05-16T00:11:09.191Z (2 months ago)
- Size: 21.5 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @sync/parking_lot — Fast Synchronization Primitives for Zeta
Auto-converted from [parking_lot](https://crates.io/crates/parking_lot) v0.12.5 via [Dark Factory](https://github.com/murphsicles/dark-factory).
## Features
| Type | Description |
|------|-------------|
| `Mutex` | Fast mutex — no poisoning, const constructor, ~2x faster than std |
| `RwLock` | Read-write lock — upgradable reads, fair/unfair policies |
| `Once` | One-time initialization — call_once, call_once_force |
| `Condvar` | Condition variable — wait, notify_one, notify_all, timed wait |
| `FairMutex` | Fair queuing mutex — FIFO ordering guarantee |
| `ReentrantMutex` | Reentrant mutex — same-thread recursive locking |
All types include full guard wrappers: MutexGuard, RwLockReadGuard, RwLockWriteGuard, MappedMutexGuard, MappedRwLockGuard, and their owned variants.
## Stats: 13 source files, ~2,157 lines, 0 unsupported items
## License
MIT