Hello all,
You have to be careful cause if there is more and more writes
my previous scalable RWLocks version 2.01 may starve threads for a long time or starve threads , cause they were not starvation free.
So i have to be smarter than that, and i have finally implemented a scalable RWLock called RWLockX that is starvation-free and that
doesn't use spin-wait but it uses my portable SemaMonitor and a portable manual event object, so it consumes less CPU ressources and it's scalable on multicores, so finally i have designed and implemented this new algorithm called RWLockX that supports all those three requirements.
I have extensivly verified my new RWLockX algorithm and it's
stable now and i will explain it to you in the near future.
Please download my scalable RWLock zip file version 2.1
and take a look at my new scalable RWLockX algorithm inside RWLockX.pas,
and run the test.pas example inside the zip file .
You can download my new scalable RWLock 2.1 from:
http://pages.videotron.com/aminer/Thank you,
Amine Moulay Ramdane.