Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.programming
To be more precise, read more...
Ramine
5/11/2016 4:30:00 PM
Hello.....
Look at this scalable Asymmetric rw_mutex from Dmitry Vyukov:
https://groups.google.c...
!topic/lock-free/Hv3GUlccYTc
If you have noticed he is using a compiler "_ReadWriteBarrier()",
but this doesn't emmit a fence on x86, it is just a compiler barrier,
but i am wondering how can he do it this way because loads
of the reader critical section can be reordered on x86 with the
following store:
reader_inside[current_thread_index] = true;
So i think it is a bug, can you please shade some light on this ?
Thank you,
Amine Moulay Ramdane.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
To be more precise, read more...
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password