Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.programming
Read this, it is important
Ramine
5/11/2016 2:15:00 PM
Hello,
Hope you have read my previous post..
But look now at the source code of my SeqlockX algorithm here:
https://sites.google.com/site/aminer68/scalabl...
There is a load on x86 on the reader side section of my SeqlockX
algorithm like this:
myid2:=FCount4^.fcount4;
This is why it works , because loads and stores on x86 are
not reordered with this load above, so it permit my SeqlockX to
not use any atomics or fences on the the reader side.
So i think that's not possible with this Asymmetric rw_mutex from Dmitry
Vyukov as i have explained before:
https://groups.google.c...
!topic/lock-free/Hv3GUlccYTc
And i think that's not possible with my scalable Asymmetric
Distributed reader-writer mutex, because it needs an x86 fence
on the reader side of the critical section.
So if you need a costless sychronization mechanism on the reader side
that elminates livelock when there is more writers, use my
SelqockX implementation of my algorithm.
Hope you have understood what i mean.
You can download my great and updated C++ synchronization objects
library from:
https://sites.google.com/site/aminer68/c-synchronization-objec...
Thank you,
Amine Moulay Ramdane.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Read this, it is important
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