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


Groups > comp.programming.threads > #1760

Scalable Distributed Lock version 1.1

Path csiph.com!usenet.pasdenom.info!news.albasani.net!.POSTED!not-for-mail
From aminer <aminer@toto.net>
Newsgroups comp.programming.threads, comp.programming
Subject Scalable Distributed Lock version 1.1
Date Mon, 30 Sep 2013 10:43:29 -0700
Organization albasani.net
Lines 49
Message-ID <l2c2ms$ocl$1@news.albasani.net> (permalink)
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Trace news.albasani.net 12a/bMmCzaLwPOJ0hmm+OGuzFBQZx3MUPhIOvaoiIlrvv4i2WpmkdnDOplvrOd99TusuuGUJ7d6r4L4f/neXl+dWh54IuWdwJ22bpSmhgoRs04/nxdQDQQUC5HLM6Fro
NNTP-Posting-Date Mon, 30 Sep 2013 14:43:40 +0000 (UTC)
Injection-Info news.albasani.net; logging-data="7QWEeszGqH0ybP2IXyg8PGJyDT0XO5pYSb1QdV9kFrzYIB5nYWAsizA4TqzF2SQHJy+d0fZhKnxtqzK2+o5PAk3Z2eQodzuMWf6tAMaiX5oKBxqpdy6FCEKS+/gCKS8B"; mail-complaints-to="abuse@albasani.net"
User-Agent Mozilla/5.0 (Windows NT 6.0; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8
Cancel-Lock sha1:7LS5G5zJJzxGJ9+i2jde2VkO2JI=
Xref csiph.com comp.programming.threads:1760 comp.programming:3808

Cross-posted to 2 groups.

Show key headers only | View raw


Hello,


My scalable distributed Lock have been updated to version 1.1,
now it is fair when there is contention, so i think it will avoid
starvation and it reduces the cache-coherence traffic.


Authors: Amine Moulay Ramdane.


Description:

A scalable distributed Lock, it is as fast as the windows critical 
section and it is fair when there is contention , and it reduces the 
cache-coherence traffic.

I have not used a Waitfree queue to implement my Scalable Distributed 
Lock,  but you can use a Waitfree queue so that my Scalable Distributed 
Lock will be more efficient.

Please take a look a the test.pas Object Pascal demo inside the zipfile, 
compile and run it...


You can download my Scalable and distributed Lock from:

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

Language: FPC Pascal v2.2.0+ / Delphi 7+: http://www.freepascal.org/

Operating Systems: Windows, Mac OSX , Linux , Unix...


Required FPC switches: -O3 -Sd -dFPC -dFreePascal

-Sd for delphi mode....

{$DEFINE CPU32} and {$DEFINE Windows32} for 32 bit systems

{$DEFINE CPU64} and {$DEFINE Windows64} for 64 bit systems



Thank you,
Amine Moulay Ramdane.

Back to comp.programming.threads | Previous | NextNext in thread | Find similar


Thread

Scalable Distributed Lock version 1.1 aminer <aminer@toto.net> - 2013-09-30 10:43 -0700
  Re: Scalable Distributed Lock version 1.1 aminer <aminer@toto.net> - 2013-09-30 11:03 -0700

csiph-web