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


Groups > comp.programming.threads > #1758

Distributed Lock version 1.0

From aminer <aminer@toto.net>
Newsgroups comp.programming.threads, comp.programming.threads
Subject Distributed Lock version 1.0
Date 2013-09-27 18:38 -0700
Organization albasani.net
Message-ID <l251ct$g33$1@news.albasani.net> (permalink)

Cross-posted to 2 groups.

Show all headers | View raw


Hello,

Finally i have implemented my Distributed Lock, i think it's
good now cause it reduces the cache-coherence traffic and it is
much fair than the Windows critical section.

Description:

A scalable distributed Lock, it is as fast as the Windows critical 
section but it is much fair than the Windows critical section and the 
SpinLock with exponential backoff, and it reduces the cache-coherence 
traffic.

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


You can download my 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,
Amien Moulay Ramdane.

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


Thread

Distributed Lock version 1.0 aminer <aminer@toto.net> - 2013-09-27 18:38 -0700
  Re: Distributed Lock version 1.0 aminer <aminer@toto.net> - 2013-09-27 18:43 -0700

csiph-web