Y
Hacker News
new
|
ask
|
show
|
jobs
by
agumonkey
1908 days ago
this is misguided to such an extent
2 comments
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.
link
waheoo
1908 days ago
Such an extent mere words can't even comprehend your reasoning.
link
I think it's also useful for SPSC channels.