Re: Wait-free Hazard Pointers Using Std Atomics

Liste des GroupesRevenir à cl c++ 
Sujet : Re: Wait-free Hazard Pointers Using Std Atomics
De : jseigh_es00 (at) *nospam* xemaps.com (jseigh)
Groupes : comp.lang.c++
Date : 02. Jun 2025, 23:07:22
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <101l7aq$3hntf$1@dont-email.me>
References : 1 2 3 4
User-Agent : Mozilla Thunderbird
On 6/1/25 16:31, Chris M. Thomasson wrote:
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.
Drop the FIFO requirements since they're not really observable for
all practical purposes and just concentrate on throughput forward
progress.
And wait-free is highly overrated. It seems to be important only in
theses, technical papers and obscure blogs, not so much is real world
applications which is one reason I not going to implement it.
 
>
Anyway, after some consideration, I'm off on this
wait-free hazard pointer.  The lock-free version is
more than performant.
I did post on my blog how to improve reclaim forward progress for the
wait-free hazard pointer so it's equivalent to a proxy collector.

Date Sujet#  Auteur
26 May 25 * Wait-free Hazard Pointers Using Std Atomics17jseigh
27 May 25 +* Re: Wait-free Hazard Pointers Using Std Atomics2Chris M. Thomasson
27 May 25 i`- Re: Wait-free Hazard Pointers Using Std Atomics1jseigh
28 May 25 +- Re: Wait-free Hazard Pointers Using Std Atomics1jseigh
28 May 25 `* Re: Wait-free Hazard Pointers Using Std Atomics13Chris M. Thomasson
29 May 25  `* Re: Wait-free Hazard Pointers Using Std Atomics12jseigh
1 Jun 25   +- Re: Wait-free Hazard Pointers Using Std Atomics1Chris M. Thomasson
1 Jun 25   `* Re: Wait-free Hazard Pointers Using Std Atomics10Chris M. Thomasson
2 Jun 25    `* Re: Wait-free Hazard Pointers Using Std Atomics9jseigh
3 Jun 25     `* Re: Wait-free Hazard Pointers Using Std Atomics8Chris M. Thomasson
10 Jun 25      +- Re: Wait-free Hazard Pointers Using Std Atomics1Chris M. Thomasson
23 Jun 25      `* Re: Wait-free Hazard Pointers Using Std Atomics6jseigh
27 Jun 25       `* Re: Wait-free Hazard Pointers Using Std Atomics5Chris M. Thomasson
27 Jun 25        `* Re: Wait-free Hazard Pointers Using Std Atomics4jseigh
28 Jun 25         `* Re: Wait-free Hazard Pointers Using Std Atomics3Chris M. Thomasson
29 Jun 25          `* Re: Wait-free Hazard Pointers Using Std Atomics2jseigh
4 Jul22:56           `- Re: Wait-free Hazard Pointers Using Std Atomics1Chris M. Thomasson

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal