Re:A collection of lock-free data structures written in stan...
by T0pH4t on Wednesday May 10, 2023 @11:47AM
(#35889066)
^ This can definitely be the case in a multi-producer/multi-consumer (MPMC) scenario if CAS is involved with loops. Great care has to be taken when writing MPMC data structures without locks that are more performant then lock equivalents; they are far more complex. I think it should be called out that it seems most (if not all) of the data structures provided are single producer/consumer which generally always have much simpler designs (and limitations of use) then MPMC.
[ Parent
| on HN ]