Re: Wait-free Hazard Pointers Using Std Atomics

Liste des GroupesRevenir à cl c++ 
Sujet : Re: Wait-free Hazard Pointers Using Std Atomics
De : chris.m.thomasson.1 (at) *nospam* gmail.com (Chris M. Thomasson)
Groupes : comp.lang.c++
Date : 27. May 2025, 00:17:24
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <1012sq3$26ud3$5@dont-email.me>
References : 1
User-Agent : Mozilla Thunderbird
On 5/26/2025 2:58 PM, jseigh wrote:
and asymmetric memory barriers of course.
 https://threadnought.wordpress.com/2025/05/26/wait-free-hazard-pointers- using-std-atomics/
 Looks like it runs faster without the conditional branch.
 Not sure it's a new idea.  The only wait-free version of hazard pointers
I've seen so far involves a storage to storage move instruction which
might not be available on all platforms.
Interesting, thanks Joe! Fwiw, I think, something like FlushProcessWriteBuffers() should be in a new C++ std? Perhaps, allow a system to use DWCAS without resorting to not lock-free wrt the checks? Damn it. ;^o Ouch.
https://learn.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-flushprocesswritebuffers
Sometimes I think that function was specifically designed for exotic RCU, ect...

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