Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.programming
A memory barrier is needed...
Ramine
5/11/2016 3:29:00 PM
Hello,
I have just looked at my algorithm of my scalable Asymmetric Distributed
Reader-Writer mutex, and i think it needs a memory barrier on the
reader-side, because on x86 loads of the inside reader section can be
reordered with the following store:
myid1:=0;
FCount1^[myid1].fcount1:=FCount1^[myid1].fcount1+1;
So now i think you can be more confident..
You can download my new and updated C++ synchronization objects library
from:
https://sites.google.com/site/aminer68/c-synchronization-objec...
and you can download my updated scalable DRWLock from:
https://sites.google.com/site/aminer68/scalable-distributed-reader-wr...
Thank you,
Amine Moulay Ramdane.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
A memory barrier is needed...
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