#mutex #thread #once #rwlock #condvar

parking_lot_rt

Parking-lot fork for real-time applications

1 unstable release

new 0.12.1 Apr 24, 2024

#306 in Concurrency

Download history 183/week @ 2024-04-20

183 downloads per month
Used in 3 crates (via roboplc)

MIT/Apache

170KB
3.5K SLoC

parking_lot real-time

A fork of the well-known parking_lot crate with real-time-safe patches.

  • Threads are parked immediately if a lock is not available.

  • Spin-free Once, Mutex and RwLock implementations.

THIS IS NOT A HIGH-LOAD CRATE. It is designed for real-time systems, use it only if you know what you are doing.


lib.rs:

This library provides implementations of Mutex, RwLock, Condvar and Once that are smaller, faster and more flexible than those in the Rust standard library. It also provides a ReentrantMutex type.

Dependencies

~0.3–6.5MB
~27K SLoC