waitx
A lightweight & low-latency, pure signaling primitive.
Overview
waitx implements a minimal but fast notification mechanism for SPSC/MPSC use cases.
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.