|
|
|
|
|
by nyanpasu64
1908 days ago
|
|
As bizarre as the stated API sounds, it's actually a good choice for a lock-free triple buffer where set() and get() are called on separate threads and shouldn't block each other: https://lib.rs/crates/triple_buffer I think it's also useful for SPSC channels. |
|