Liste des Groupes | Revenir à cl c++ |
and asymmetric memory barriers of course.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://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.
Les messages affichés proviennent d'usenet.