Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming > #3804 > unrolled thread
| Started by | aminer68@gmail.com |
|---|---|
| First post | 2013-09-27 15:50 -0700 |
| Last post | 2013-09-27 15:50 -0700 |
| Articles | 2 — 1 participant |
Back to article view | Back to comp.programming
Distributed Lock version 1.0 aminer68@gmail.com - 2013-09-27 15:50 -0700
Re: Distributed Lock version 1.0 aminer68@gmail.com - 2013-09-27 15:50 -0700
| From | aminer68@gmail.com |
|---|---|
| Date | 2013-09-27 15:50 -0700 |
| Subject | Distributed Lock version 1.0 |
| Message-ID | <8a98ed9f-bc7c-436a-be05-a5208d332a2e@googlegroups.com> |
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.
[toc] | [next] | [standalone]
| From | aminer68@gmail.com |
|---|---|
| Date | 2013-09-27 15:50 -0700 |
| Message-ID | <fd0c142d-b74e-4e9a-a191-bf5f984aef14@googlegroups.com> |
| In reply to | #3804 |
Hello,
I said that my Distributed Lock is much fair than the Windows critical section and much fair than the SpinLock with expoenential backoff,
a proof of that ? just run the test.pas ,test1.pas and test2.pas
inside the zipfile and you will notice it.
Other than that you can use a Waitfree queue and it will be much efficient than that.
You can download my Distributed Lock from:
http://pages.videotron.com/aminer/
Thank youm
Amine Moulay Ramdane.
On Friday, September 27, 2013 3:50:07 PM UTC-7, amin...@gmail.com wrote:
> 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.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.programming
csiph-web