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


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

Scalable RWLock versoin 2.11

Started byaminer <aminer@toto.net>
First post2014-01-28 11:40 -0800
Last post2014-01-28 11:40 -0800
Articles 1 — 1 participant

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


Contents

  Scalable RWLock versoin  2.11 aminer <aminer@toto.net> - 2014-01-28 11:40 -0800

#2066 — Scalable RWLock versoin 2.11

Fromaminer <aminer@toto.net>
Date2014-01-28 11:40 -0800
SubjectScalable RWLock versoin 2.11
Message-ID<lc8mhk$tst$1@news.albasani.net>
Hello all,

I have updated my scalable RWLock to version 2.11...

I had to be smarter than that and i have invented a new algorithm
called RWLockX (a scalable RWLock) that is starvation-free and that
doesn't use spin-wait but it uses my portable SemaMonitor , 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 requirements.

I have also upgraded my SemaMonitor so that it supports the setSignal() 
and resetSignal() that work the same as setEvent() and resetEvent() of 
the manual event object.

I have extensivly verified my new RWLockX algorithm and it's
stable now and i will explain it to you in the near future.

So now my new scalable RWLockX algorithm (a scalable RWLock) , supports 
the following requirements:

1- It uses my SemaMonitor , hence it uses less CPU ressources.

2- It scales on multicores

3- It is  starvation-free

4- it is portable.


You can download all the variants of my scalable RWLock 2.11 from:

http://pages.videotron.com/aminer/



And please take a look at my new algorithm inside RWLockX.pas.




Thank you,
Amine Moulay Ramdane.

[toc] | [standalone]


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


csiph-web