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


Groups > comp.programming.threads > #2056

Scalable RWLock 2.0

From aminer <aminer@toto.net>
Newsgroups comp.programming.threads, comp.programming
Subject Scalable RWLock 2.0
Date 2014-01-23 23:45 -0800
Organization albasani.net
Message-ID <lbsr33$kt5$1@news.albasani.net> (permalink)

Cross-posted to 2 groups.

Show all headers | View raw


Hello all,

I have finally found a solution that brings FIFO fairness to
my scalable RWLock, i have tested this solution and it is now working
perfectly in practice, this solution uses two SemaMonitors on the
reader side and one SemaMonitor on the writer side.

So now my scalable RWLock, the variant called RWLock2, supports the 
following requirements:


1- It uses my SemaMonitor on both the reader and writer side
so it uses less CPU ressources.

2- It scales on multicores

3- It is  FIFO fair on both the reader and the writer side
    and it is starvation free.


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

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


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




Thank you,
Amine Moulay Ramdane.




Back to comp.programming.threads | Previous | Next | Find similar | Unroll thread


Thread

Scalable RWLock 2.0 aminer <aminer@toto.net> - 2014-01-23 23:45 -0800

csiph-web