Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming.threads > #2063 > unrolled thread

Scalable RWLockX versoin 2.1

Started byaminer <aminer@toto.net>
First post2014-01-27 18:13 -0800
Last post2014-01-27 18:13 -0800
Articles 1 — 1 participant

Back to article view | Back to comp.programming.threads


Contents

  Scalable RWLockX versoin 2.1 aminer <aminer@toto.net> - 2014-01-27 18:13 -0800

#2063 — Scalable RWLockX versoin 2.1

Fromaminer <aminer@toto.net>
Date2014-01-27 18:13 -0800
SubjectScalable RWLockX versoin 2.1
Message-ID<lc6p52$94e$1@news.albasani.net>
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.



[toc] | [standalone]


Back to top | Article view | comp.programming.threads


csiph-web