pulse
pulse copied to clipboard
A composable wait system.
This line for example shouldn't use `Relaxed`. https://github.com/slide-rs/pulse/blob/8cbe16c0198648ef32907456ff48b0cc17f20402/src/lib.rs#L214
https://github.com/slide-rs/pulse/blob/8cbe16c0198648ef32907456ff48b0cc17f20402/src/lib.rs#L268
https://github.com/slide-rs/pulse/blob/8cbe16c0198648ef32907456ff48b0cc17f20402/src/lib.rs#L175 I'm not sure how much sense this constructor makes, the `usize` had to be a pointer to a value in the heap, which has been allocated by `Box`.
Select was initially build around a Mutexed core just to make sure the logic worked correctly. There is a way to modify the internals of the Select to use a...
I'm convinced that there is a way to trigger a `pulse` -> `signal` with only a single CAS. Right now there is three opeartions - Atomic or to set a...
Since all Pulses are the same, this is a good target for a object pool.