Liste des Groupes | Revenir à cl c++ |
On 5/29/2025 2:17 PM, jseigh wrote:>>>>
Push may wait-free but pop isn't event lock-free.
Actually, I like my futex stack experiment as is. normal CAS for push, SWAP for pop. It needs to have multiple stacks and distribute across them because popping all from a single stack can mean a thread gets too much work. Push lock-free, pop wait-free.Well you actually have a lot of leeway in concurrent queue semantics.
I did post on my blog how to improve reclaim forward progress for the>
Anyway, after some consideration, I'm off on this
wait-free hazard pointer. The lock-free version is
more than performant.
Les messages affichés proviennent d'usenet.