waitx
Provides an extremely low-latency, pure signaling primitive.
Overview
waitx implements an extremely fast, minimal notification mechanism for SPSC/MPSC use cases where only a “wake up” or “event occurred” signal is needed.
Usage
Remarks
- The
waitx::UnitReceiverparks the thread which it resides in. If moved to another thread after instantiation, its shared handle needs to be updated using itsupdate_threadmethod. - Parking is unfacilitated. Unparking the receiver's residing thread at any time will wake the receiver.
Benchmarks
Very basic benchmarking was performed locally on a 12th Gen Intel(R) Core(TM) i7-12700K.
View the full benchmark report comparing other popular crates here.